-
1. Re: rich Ordering List Property not found on form submission
ilya_shaikovsky Jul 31, 2008 5:52 AM (in response to yj4jboss)both ordering list and list shuttle requires converter for objects to be specified. Also objects for these components should have equals and hashCode methods implemented.
check livedemo example. List shuttle component. there is submission of List Shuttle changes implemented -
2. Re: rich Ordering List Property not found on form submission
yj4jboss Jul 31, 2008 6:52 AM (in response to yj4jboss)Hi,
Thnx for your quick reply. I could not find the source code for the Converter on the livedemo site ( http://livedemo.exadel.com/richfaces-demo/richfaces/listShuttle.jsf?c=listShuttle).
Any hints where i can find this ? Thnx heaps ;0)
Cheers,
JANKEE Yogesh
M-ITC LTD -
3. Re: rich Ordering List Property not found on form submission
zbandersnatch Aug 8, 2008 5:03 PM (in response to yj4jboss)Try:
http://lists.jboss.org/pipermail/richfaces-svn-commits/2007-December/004425.html
For some reason, there's not a lot of backing bean code available on the demo site. The only way I've been able to find it is to google for class or method names you see within the JSF code on the demo site.
In this instance, the example code for orderingList isn't much help, but the code for listShuttle contains:<rich:listShuttle sourceValue="#{toolBar.freeItems}" targetValue="#{toolBar.items}" var="items" listHeight="300" listWidth="300" sourceCaptionLabel="Available Items" targetCaptionLabel="Currently Active Items" converter="listShuttleconverter">
I googled for "listShuttleConverter" and happened to find the code for orderingListConverter in the same Subversion commit.
I'm really not sure why the committers working on the demo site chose not to make the backing bean source available for most of the examples, but from my own (limited) experience you'll have to get out the ol' deerstalker cap and pipe to find it. From looking at other posts on this forum, it's typical that you won't get a response if you ask.
RichFaces is a great product, but like a lot of other community-based Java tools its most severe deficiency is half-assed documentation. -
4. Re: rich Ordering List Property not found on form submission
matinh Sep 19, 2008 7:45 AM (in response to yj4jboss)Hi!
Just for the records: orderingList does not yet support generic Lists, so you either have to use Arrays, or you explicitly specify the converter as an attribute of the orderingList tag.
If you specify your converter via faces-config.xml for all objects of the this type, using lists is not possible! You'll get the same PropertyNotFoundException.
hth,
- martin