-
1. Re: richfaces:orderingList
ilya_shaikovsky Jul 29, 2009 7:51 AM (in response to mjkrishna25)implement converter for your objects and override hashCode and equals properly.
problems with LS and OL components could be easilly checked with rich:messages. Samples at rivcfaces-demo. -
2. Re: richfaces:orderingList
mjkrishna25 Jul 30, 2009 5:06 AM (in response to mjkrishna25)Hi,
<rich:orderingList value="#{contractBacking.postValidationItems}" var="lib" listHeight="300" listWidth="350" columnClasses="name,value" >
<rich:column >
<h:selectManyCheckbox id="postvalidationItems" value="#{contractBacking.selectedPValidationItems}" layout="pageDirection">
<f:selectItems value="#{lib}"/>
</h:selectManyCheckbox>
</rich:column>
</rich:orderingList>
After form submission i am getting the following error message as
*Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectMany(postvalidationItems). Found java.lang.String.*
Please help me to provide solution for this -
3. Re: richfaces:orderingList
ilya_shaikovsky Jul 30, 2009 5:15 AM (in response to mjkrishna25)<f:selectItems value="#{lib}"/>
seems this is not List of selectItems. -
4. Re: richfaces:orderingList
mjkrishna25 Jul 30, 2009 5:22 AM (in response to mjkrishna25)Hi,
<rich:orderingList value="#{contractBacking.postValidationItems}" var="lib" listHeight="300" listWidth="350" columnClasses="name,value" >
Actually "#{contractBacking.postValidationItems}" contains SelectItems and also i am assigning this binded property to variable lib.While first time page is loaded i am able to see all the checkbox items that are assigned to
contractBacking.postValidationItems.But After selecting some checkbox items and submitting the page i am getting the already mentioned error message. Please help me to provide solution for this