1 Reply Latest reply on Dec 15, 2011 5:13 AM by teri-chan

    rich:editor and rich:picklist in 4.1 Final

    teri-chan

      Hi,

      i was using 4.1 M1 and upgraded to 4.1 Final, and now i have two issues.

       

      First, the rich:picklist in my page make my page crash at render, with a  "

      java.lang.NullPointerException: Argument Error: Parameter key is null" error. here is a code example for my list

       

      <rich:pickList value="#{reunionHandler.reunionParticipants}"

                                                      rendered="#{reunionHandler.formsEditable}" columnVar="user"

                                                      addAllText="&gt;&gt;" addText=" &gt;" removeText=" &lt;"

                                                      removeAllText="&lt;&lt;" sourceCaption="#{msg.disponibles}"

                                                      targetCaption="#{msg.assignes}">

                                                      <f:converter converterId="VmprojectUserConverter" />

                                                      <f:selectItems

                                                          value="#{reunionHandler.reunionParticipantsPossibles}" />

                                                      <rich:column>#{user.userFullName}</rich:column>

                                                  </rich:pickList>

       

      And i also have a problem with all the rich:editor in my pages. They were working just fine before, but now at load they are displaying only the HTML code, not the formatted text. And they don't seem to save correctly the entered text.

        • 1. Re: rich:editor and rich:picklist in 4.1 Final
          teri-chan

          Concerning the problem with editors:

          I dived into my page source code, comparing it with the editors in RichFaces showcase, and there is the issue:

           

          In the ShowCase, the editor is rendered as an iframe with content in it.

          In my page (even with a basic editor), the editor is rendered as a text-area within the iframe...