3 Replies Latest reply on Mar 19, 2010 10:34 AM by sainath_nair

    ModalPanel Editor problem

    oguzyalcin.oguzhanyalcin.gazi.edu.tr

      Hi all,
      I've problem with richfaces modalpanel and editor components. My modal panel code is below:



           <rich:modalPanel id="Notepanel" width="340" height="400">
                <f:facet name="header">
                     <h:panelGroup>
                          <h:outputText value="Not Ekranı:" />
                     </h:panelGroup>
                </f:facet>
                <f:facet name="controls">
                     <h:panelGroup>
                          <h:graphicImage value="img/cancel.png"
                               styleClass="hidelink" id="hidelink" onclick="Richfaces.hideModalPanel('Notepanel');return false;" />
                     </h:panelGroup>
                </f:facet>
                <rich:panel>
                     <rich:editor width="300" id="edtNote" value="#{noteHome.instance.note}" height="300"  useSeamText="true" required="true"/>
                </rich:panel>
           </rich:modalPanel>



      But when I make the modal panelvisible the editor component is readonly.
      any suggestions...