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