0 Replies Latest reply on Oct 8, 2009 7:57 PM by soso xuc

    editor problem

    soso xuc Newbie

      i want editor to be readonly but to display printpreview and prin plugin buttons.

      if i set readonly atribute

      <rich:editor readonly="#{doc.readOnly}"
       value="#{doc.data.letter.letterBody}" theme="advanced"
       style="height:100%;" configuration="#{doc.readOnly?'./docflow/view/resources/seditor':'./docflow/view/resources/aeditor'}">
      
       </rich:editor>


      the printpreview and print buttons are not displayed at all

      if i set readonly=1 in properties file the editor is still editable

      how to make it readonly wile print and printpreview are visible ?

      thanks in advance