ListChoice move up and down

2011-02-02 Thread Altuğ Bilgin Altıntaş
Hi;

Any example about how to move up and down via Javascript ListChoice items.

Thanks.

-- 
*Altuğ*
** http://www.kodcu.com


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.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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' list. You can look 
in file  palette.js to see related JavaScript code.

Hi;

Any example about how to move up and down via Javascript ListChoice items.

Thanks.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 ListChoice

2- user move up and down some items

3 - I need to get new ordered ListChoice from wicket --  any suggestions ??

Thanks.



2011/2/2 Andrea Del Bene adelb...@ciseonweb.it

 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' list. You can look in
 file  palette.js to see related JavaScript code.

  Hi;

 Any example about how to move up and down via Javascript ListChoice items.

 Thanks.



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
*Altuğ*
*www.kodcu.com* http://www.kodcu.com**


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 :
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 ListChoice

2- user move up and down some items

3 - I need to get new ordered ListChoice from wicket --  any suggestions ??

Thanks.



2011/2/2 Andrea Del Beneadelb...@ciseonweb.it


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' list. You can look in
file  palette.js to see related JavaScript code.

  Hi;

Any example about how to move up and down via Javascript ListChoice items.

Thanks.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org