You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Altuğ Bilgin Altıntaş <al...@gmail.com> on 2011/02/02 14:42:20 UTC
ListMultipleChoice getting all rows in user order
Hi
In my page user can move up and down ListMultipleChoice content by jquery
and now I need to take all ordered ListMultipleChoice items,
For exampe
1 - original items in the ListMultipleChoice
2- user move up and down some items
3 - I need to get new ordered ListMultipleChoice from wicket
I try select all items before submit via jquery but wicket doesn't detect
all selection.
Any suggestions ?
Thanks.
Re: ListMultipleChoice getting all rows in user order
Posted by Altuğ Bilgin Altıntaş <al...@gmail.com>.
I can get all ListMultipleChoice rows after jquery selection if i select
non-ajax way.
Button btnSave = new Button("btnSave") {
@Override
public void onSubmit() {
for (String s : MODEL) {
System.out.println("--> " + s);
}
}
};
But with if i use AjaxButton then jquery selection code doesn't work. Also
I 've tried putting jquery code in AjaxCallDecorator but no way.
Altug.
02 Şubat 2011 15:42 tarihinde Altuğ Bilgin Altıntaş <al...@gmail.com>yazdı:
> Hi
>
> In my page user can move up and down ListMultipleChoice content by jquery
> and now I need to take all ordered ListMultipleChoice items,
>
> For exampe
>
> 1 - original items in the ListMultipleChoice
>
> 2- user move up and down some items
>
> 3 - I need to get new ordered ListMultipleChoice from wicket
>
> I try select all items before submit via jquery but wicket doesn't detect
> all selection.
>
> Any suggestions ?
>
> Thanks.
>
>
--