0 Replies Latest reply on Oct 12, 2009 4:12 AM by soso xuc

    rich:editor readonly attrinbute problem

    soso xuc Newbie

      i want editor to be read only but to display print-preview and print plug-in buttons.

      if i set read only attribute

      <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'}" />

      the print-preview 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 read only wile print and print-preview are visible ?

      thanks in advance