8 Replies Latest reply on Feb 19, 2010 3:25 PM by Flavio Henrique

    richfaces editor rerender not show with firefox 3.0 3.55

    lv jianping Newbie

      Hello, every one. I use the richfaces 3.3.2SR1 with JBOSS Seam 2.1.2, Facelets 1.1.15. The rich:editor component is well in IE8, but NOT OK  in

      firefox3.0 and firefox 3.5.5.

       

       

      I want to control the rich:editor component whether to be showed with a h:selectOneMenu component.

       

      1.When first time the page rendered,  the editor should be showed.                    OK.

      2.Change the   h:selectOneMenu value, the editor should not be showed            OK.

      3.Sencond time change the  h:selectOneMenu value back to inited value             Wrong.  the  editor component rendered as a blank area.

       

      and the page's coding is as follow

                     <s:decorate id="typeDec" template="layout/edit.xhtml">
                          <ui:define name="label">info type</ui:define>
                          <h:selectOneMenu id="type" required="true" value="#{storeinfoHome.infotypeCode}">
                               <f:selectItems id="opt_type" value="#{storeinfoHome.storeinfoTypeList}" />
                               <a:support event="onchange" reRender="bodyParent" ajaxSingle="true" />
                          </h:selectOneMenu>
                     </s:decorate>

       

                     <s:div id="bodyParent">
                          <s:decorate id="bodyRicheditorDec" template="layout/editRicheditor.xhtml"
                               rendered="#{'1' eq storeinfoHome.infotypeCode}">
                               <rich:editor id="bodyEditor" required="true" value="#{storeinfoHome.instance.body}" useSeamText="true"
                                    configuration="editorConfig" validatorMessage="#{messages['fms.icrm.error.seamtextValidator']}">
                                    <s:validateFormattedText />
                               </rich:editor>
                          </s:decorate>

       

                          ......
                     </s:div>

       

      Thank you!!!