Re: ListChoice move up and down

2011-02-02 Thread Robert Dahlström
Not sure if this is what you want but maybe it can work as a starting point: ListView.moveDownLink ListView.moveUpLink Regards Robert On 02/02/2011 10:16 AM, Altuğ Bilgin Altıntaş wrote: Hi; Any example about how to move up and down via Javascript ListChoice items. Thanks.

Re: ListChoice move up and down

2011-02-02 Thread Andrea Del Bene
Hi, it's not exactly what you are looking for, but you could take a look at Palette component. You can find a live example here: http://wicketstuff.org/wicket14/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage This component support choices moving for 'selected'

Re: ListChoice move up and down

2011-02-02 Thread Altuğ Bilgin Altıntaş
Ok i can move up and dowm using jquery Here is the answer link : http://stackoverflow.com/questions/4168817/how-can-i-fix-my-jquery-methods-so-i-can-re-order-the-items-in-a-multiselect-opti but now i need to take ordered list items, any way to do this. For exampe 1 - original items in the

Re: ListChoice move up and down

2011-02-02 Thread Andrea Del Bene
Maybe you should make it using ListMultipleChoice instead of ListChoice. If you select all options before submitting, ListMultipleChoice will keep the ordered list in its model. Ok i can move up and dowm using jquery Here is the answer link :