-
1. Re: listShuttle questions
nbelaevski Dec 30, 2007 4:24 PM (in response to marcopan)Marco,
1. Use sourceListWidth/targetListWidth attributes
2. List or array should be used as data source because ordering matters
3. Please vote for the feature here: http://labs.jboss.com/auth/wiki/RichFacesFuture -
2. Re: listShuttle questions
nbelaevski Dec 30, 2007 4:26 PM (in response to marcopan)http://jira.jboss.com/jira/browse/RF-1807 added for doc update
-
3. Re: listShuttle questions
marcopan Dec 30, 2007 4:52 PM (in response to marcopan)Dear Nick
Thanks for your fast response.
1) It was my fault, the tag documentation is clear. I was misleaded by the example. When you will correct the doc about the Collection/List issue, probably it's better if you correct the example source as well, as it is not consistent with the tag documentation
2)I agree, if you consider that you have done a "listShuttle" the order matters. Probably we (developers) would like to have even a "collectionShuttle", as the use case where you don't mind the order and you just need a control to move an item from a "source" collection to a "target" collection is quite frequent. I'll try to do it myself, if you appreciate it, and propose it to your evaluation. Of course, at the moment I solved my issues in the backing bean code, managing a List to support the control and moving the content of the list in the set on the commit. But it is not so elegant.
3)I will vote immediately.
Anycase, thanks a lot for your effort. RichFaces is becoming (if it is not already) the most interesting JSF tag collection even considering the commercial ones.
Happy new year to all the RichFaces staff