This content has been marked as final.
Show 4 replies
-
1. Re: Problem with the rich:shuttlelist
nimo22 Jan 16, 2009 10:26 PM (in response to melanie82)Try that:
<h:form> <rich:listShuttle sourceValue="#{pdfSitesHome.contentsStdList}" targetValue="#{pdfSitesHome.contentsList1}" var="cont" converter="org.jboss.seam.ui.EntityConverter"> <rich:column> <f:facet name="header"><h:outputText value="#{msg.name}" /></f:facet> <h:outputText value="#{cont.pconName}"/> </rich:column> </rich:listShuttle> <h:form>
instead of getter/setter, say this:
@Out(required=false) private ArrayList<PdfContents> contentsList = new ArrayList<PdfContents>(); @Out(required=false) private ArrayList<PdfContents> contentsStdList = new ArrayList<PdfContents>();
then it should work:-)
-
2. Re: Problem with the rich:shuttlelist
melanie82 Jan 16, 2009 10:53 PM (in response to melanie82)thanks for the answer, but now i get this error :(
javax.el.PropertyNotFoundException: /PdfSitesEdit.xhtml @18,53 sourceValue="#{pdfSitesHome.contentsStdList}": Property 'contentsStdList' not found on type xx.test.session.PdfSitesHome_$$_javassist_7 -
3. Re: Problem with the rich:shuttlelist
melanie82 Jan 17, 2009 8:41 AM (in response to melanie82)It works :)
i take the new Richfaces 3.3 and now the Arrays are ok !!
Thanks Nimo for your help :)
-
4. Re: Problem with the rich:shuttlelist
nimo22 Jan 17, 2009 9:58 AM (in response to melanie82)your welcome.
please rate !