Re: ListView + AjaxEditableLabel + move down and move up
Ok. Actually my code already have ajaxrequest target, how do I use this http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListViewcode? Also anyone know where the wicket extension and javadoc go after they move their web site to apache? Anita On 8/3/07, Gerolf Seitz [EMAIL PROTECTED] wrote: maybe this is something for you: at http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView what you could also do is the following: + add two ajaxbuttons up and down (or images) + change the position of the row-data in the backing list in the onSubmit method of the ajaxbuttons + add the parent container of the listview to the ajaxrequesttarget i haven't tried the approach myself, but maybe it's something to get you started. hth, gerolf On 8/4/07, anita nichols [EMAIL PROTECTED] wrote: I have a list view (to do list sample) with AjaxEditableLabel. But I also would like to be able to move the items on the list up or down. Is that possible? Thanks
Re: ListView + AjaxEditableLabel + move down and move up
maybe this is something for you: at http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView what you could also do is the following: + add two ajaxbuttons up and down (or images) + change the position of the row-data in the backing list in the onSubmit method of the ajaxbuttons + add the parent container of the listview to the ajaxrequesttarget i haven't tried the approach myself, but maybe it's something to get you started. hth, gerolf On 8/4/07, anita nichols [EMAIL PROTECTED] wrote: I have a list view (to do list sample) with AjaxEditableLabel. But I also would like to be able to move the items on the list up or down. Is that possible? Thanks
Re: ListView + AjaxEditableLabel + move down and move up
if the last suggestion is too costly (rendering the whole listview), you could just change the order of the backing list without redrawing it and add some javascript to the requesttarget (target.appendjavascript) which does the dom manipulation... On 8/4/07, Gerolf Seitz [EMAIL PROTECTED] wrote: maybe this is something for you: at http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView what you could also do is the following: + add two ajaxbuttons up and down (or images) + change the position of the row-data in the backing list in the onSubmit method of the ajaxbuttons + add the parent container of the listview to the ajaxrequesttarget i haven't tried the approach myself, but maybe it's something to get you started. hth, gerolf On 8/4/07, anita nichols [EMAIL PROTECTED] wrote: I have a list view (to do list sample) with AjaxEditableLabel. But I also would like to be able to move the items on the list up or down. Is that possible? Thanks