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

    How to config rich:editor

    Rand Asin Novice

      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.