4 Replies Latest reply on Jan 17, 2009 9:58 AM by nimo stephan

    Problem with the rich:shuttlelist

    Melanie - Newbie
      Hello,
      i have a problem with the shuttlelist. I define 2 ArrayLists in in my Class

           private ArrayList<PdfContents> contentsList = new ArrayList<PdfContents>();
           private ArrayList<PdfContents> contentsStdList = new ArrayList<PdfContents>();


      with getter/setter. In the xhtml i define the shuttleList

           <rich:listShuttle sourceValue="#{pdfSitesHome.contentsStdList}"
                      targetValue="#{pdfSitesHome.contentsList1}" var="cont" listHeight="600px"
                       listWidth="500" sourceCaptionLabel="#{msg.default} #{msg.tab_pdfcontent}"
                      targetCaptionLabel="#{msg.current_selection}"
                           >
                <s:convertEntity />
                <rich:column>
                     <f:facet name="header"><h:outputText value="#{msg.name}" /></f:facet>
                     <h:outputText value="#{cont.pconName}"/>
                </rich:column>                                                                           
           </rich:listShuttle>


      If i save the form, the target list is null and the source list has the same entity as before.
      Thanks!