Esempio n. 1
0
 public String viewFaqAnswer() {
   ConversationContext<FaqAnswer> ctx =
       FaqAnswerController.newEditContext(faqAnswers.getSelectedRow());
   ctx.setLabelWithKey("faqQuestion_faqAnswers");
   getCurrentConversation().setNextContextSubReadOnly(ctx);
   return ctx.view();
 }
Esempio n. 2
0
 public void removeFaqAnswer() {
   getFaqQuestion().removeFaqAnswer(faqAnswers.getSelectedRow());
   messageUtil.infoEntity("status_removed_ok", faqAnswers.getSelectedRow());
 }