6 Replies Latest reply on Mar 21, 2007 9:42 PM by ricky lau

    TinyMCE with jsf and ajax4jsf/richfaces

    ricky lau Newbie

      When i use TinyMCE with jsf and ajax4jsf/richfaces, the content can't get in managedbean....
      I'm using jsf1.1, facelets1.1.11, ajax4jsf1.1.0,richfaces3.0;
      The xhtml code:


      //<![CDATA[
      tinyMCE.init({
      mode: "textareas",
      theme: "advanced",
      table_inline_editing: true,
      plugins: "contextmenu,table,paste,",
      theme_advanced_statusbar_location: "bottom",
      theme_advanced_resizing: true,
      theme_advanced_resize_horizontal: false,
      theme_advanced_toolbar_location: "top"
      });
      //]]>


      And when i use these codes::
      tinyMCE.init({
      mode: "textareas",
      theme: "advanced",
      table_inline_editing: true,
      editor_selector: "richEditor",
      plugins: "contextmenu,table,paste,",
      theme_advanced_statusbar_location: "bottom",
      theme_advanced_resizing: true,
      theme_advanced_resize_horizontal: false,
      theme_advanced_toolbar_location: "top"
      });

      I just add one row:::editor_selector: "richEditor",
      The tinyMCE can't work....

      Why??
      Please help....