-
1. Re: PickList automatic sorting
ilya_shaikovsky Oct 14, 2009 8:29 AM (in response to spiau)unfortunatelly not available out-of-the-box.
This could be done only using additional ajax call after item moved. But it will looks also not really nice because the item will be placed unsorted and then after call list will be redrawn in right order. -
2. Re: PickList automatic sorting
spiau Oct 14, 2009 10:04 AM (in response to spiau)Thanks Ilya,
Not very nice you're right...
I'm not very familiar with richfaces components, but, is there a way to make a custom pickList which can reorder the lists (by an action call on server side for example)?
If so, how to do that?
Regards,
Sebastien -
3. Re: PickList automatic sorting
ilya_shaikovsky Oct 14, 2009 11:01 AM (in response to spiau)you could reorder by an action call using even this one.. using support on onlistchange. just blinking will appears.
And go please through our wiki page (http://www.jboss.org/community/docs/DOC-13579) in order to be familiar how to customize the component. As I think your case ideally also requires changes in client side code in order to move items between lists with insertion in proper places. -
4. Re: PickList automatic sorting
spiau Oct 14, 2009 11:43 AM (in response to spiau)Thanks a lot Ilya.
I'll read this document.