コード例 #1
0
ファイル: UICommentForm.java プロジェクト: phuonglm/forum
 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);
 }