Exemple #1
0
 public UICommentForm() throws Exception {
   currentUser_ = FAQUtils.getCurrentUser();
   addUIFormInput(
       (new UIFormStringInput(TITLE_USERNAME, TITLE_USERNAME, currentUser_)).setReadOnly(true));
   UIFormWYSIWYGInput commentContent =
       new UIFormWYSIWYGInput(COMMENT_CONTENT, COMMENT_CONTENT, "");
   commentContent.setFCKConfig(WebUIUtils.getFCKConfig());
   commentContent.setToolBarName("Basic");
   this.addChild(commentContent);
 }