2 Replies Latest reply on Mar 31, 2010 8:41 AM by r4nd7263

    How to config rich:editor

    r4nd7263

      I am looking at RichFaces Demo source and can't figure out what to pass in for #{editorBean.currentConfiguration} in the code below.

       

      <rich:editor configuration="#{editorBean.currentConfiguration}"
                           id="editor" width="400" height="300" validator="#{editorBean.validate}"
                           viewMode="#{editorBean.viewMode}" value="#{editorBean.value}" useSeamText="#{editorBean.useSeamText}">
                           <a4j:support event="onchange" reRender="result" ajaxSingle="true"
                               requestDelay="1000" 
                               onsubmit="if (!#{rich:element('form:editorvalue')} &amp;&amp; !#{editorBean.useSeamText}) return false;" />
                       </rich:editor>
      

       

      I searched the forum, couldn't find an answer.  Any thoughts would be appreciated.  Thanks.