Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread lu dongping
visitChildren is so coolOn 6/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: here is a quick and easy way to do ajax headers toolbar for datatable. it modifies all regular links produced by the regular toolbar to be ajax links with fallback.package wicket.extensions.ajax.markup.html.repeater.data.t

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread Igor Vaynberg
here is a quick and easy way to do ajax headers toolbar for datatable. it modifies all regular links produced by the regular toolbar to be ajax links with fallback.package wicket.extensions.ajax.markup.html.repeater.data.table ;import wicket.Component;import wicket.ajax.AjaxEventBehavior;import wic

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread lu dongping
I added two Ajax*.javas to make ajax happy.and changed the final onClick method to non-final. because AjaxOrderByLink have to override it.  ( perhaps I should not do it this way)And I added another ListSortStateLocator to wrapper a simple List as a ISortStateLocator, then PageableListView/ListView

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-10 Thread Igor Vaynberg
i checked this into 2.0 trunk earlier today, but im having trouble backporting to 1.2see DefaultAjaxFallbackDatatableonly supports sorting so far, when i have time i will take a look at your paging patch. -IgorOn 6/10/06, lu dongping <[EMAIL PROTECTED]> wrote: I'll try to fix this.On 6/10/06, Igor

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-10 Thread lu dongping
I'll try to fix this.On 6/10/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: yep, we dont have support for that yet. datatable and friends were built way before we had ajax support. what we need to do is create an ajaxified order by link and create factory on the headerstoolbar to generate links just

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-09 Thread Igor Vaynberg
yep, we dont have support for that yet. datatable and friends were built way before we had ajax support. what we need to do is create an ajaxified order by link and create factory on the headerstoolbar to generate links just like the tabbedpanel does. this is a bit of work and i dont know if someon

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-09 Thread Juergen Donnerstag
I've no access to it right now. Wicket-examples contains AJAX examples and I thought it contains a simple pageable and sortable list as well. Might be though that I'm mistaken and it is only pageable. Juergen On 6/9/06, Stefan Kanev <[EMAIL PROTECTED]> wrote: > I don't see an AJAX sortable exampl

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-09 Thread Stefan Kanev
I don't see an AJAX sortable example with the DataTable component (Wicket extensions). Can you point me to it, if I have missed it, please? ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-09 Thread Juergen Donnerstag
Isn't one of the ajax examples a sortable, pageable list? On 6/9/06, Stefan Kanev <[EMAIL PROTECTED]> wrote: > Hi. Is there a quick way to implement the sorting of the DataTable with > AJAX, or should I go rewriting everything from the OrderByLink to the > HeadersToolbar? > > > >

[Wicket-user] Sortable DataTable with AJAX

2006-06-09 Thread Stefan Kanev
Hi. Is there a quick way to implement the sorting of the DataTable with AJAX, or should I go rewriting everything from the OrderByLink to the HeadersToolbar? ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/list