Re: Filter or update content of AjaxFallbackDefaultDataTable
Thank you James, for this pointer. I looked around and did some tests until I managed to understand the FilterForm/IFilterStateLocator To my understanding, it seems that this approach does not update the table in an Ajax-ified way. Am I correct? On Tue, Jan 6, 2009 at 12:23 PM, James Carman jcar...@carmanconsulting.comwrote: Have you looked at the classes in this package? http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/package-summary.html On Mon, Jan 5, 2009 at 11:06 AM, David Ojeda dojeda-l...@integra.la wrote: Hello wicketeers! I hace yet another question about AjaxFallbackDefaultDataTable (I will call it AFDTT): I have an AFDDT with, say, 100 rows. I would like to filter this table so it only shows the elements that meet a certain condition, OR, redefine its DataProvider so it shows some elements. I've been researching on how to do this (as an ajax update) but I am still unable to do it. I saw the AFDDT code, and it seems that this is not possible, so I have two alternatives: 1. Subclass and implement a way to change the contents of the AFDDT 2. Create another AFDDT instance, and do a .replaceWith() I suspect that option 2 could use a lot of memory. Do you guys have any other ideas or experience on this? Thank you
Re: Filter or update content of AjaxFallbackDefaultDataTable
Have you looked at the classes in this package? http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/package-summary.html On Mon, Jan 5, 2009 at 11:06 AM, David Ojeda dojeda-l...@integra.la wrote: Hello wicketeers! I hace yet another question about AjaxFallbackDefaultDataTable (I will call it AFDTT): I have an AFDDT with, say, 100 rows. I would like to filter this table so it only shows the elements that meet a certain condition, OR, redefine its DataProvider so it shows some elements. I've been researching on how to do this (as an ajax update) but I am still unable to do it. I saw the AFDDT code, and it seems that this is not possible, so I have two alternatives: 1. Subclass and implement a way to change the contents of the AFDDT 2. Create another AFDDT instance, and do a .replaceWith() I suspect that option 2 could use a lot of memory. Do you guys have any other ideas or experience on this? Thank you - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Filter or update content of AjaxFallbackDefaultDataTable
Hello wicketeers! I hace yet another question about AjaxFallbackDefaultDataTable (I will call it AFDTT): I have an AFDDT with, say, 100 rows. I would like to filter this table so it only shows the elements that meet a certain condition, OR, redefine its DataProvider so it shows some elements. I've been researching on how to do this (as an ajax update) but I am still unable to do it. I saw the AFDDT code, and it seems that this is not possible, so I have two alternatives: 1. Subclass and implement a way to change the contents of the AFDDT 2. Create another AFDDT instance, and do a .replaceWith() I suspect that option 2 could use a lot of memory. Do you guys have any other ideas or experience on this? Thank you