Yes, you can model that in a way. But the beauty of GlazedLists is the use of the Decorator pattern which makes the use a breeze.
Have your EventList, which is basically a beefed up version of an ArrayList, decorate it and get all the filtering functionality alsmost automatically (only a few lines of code) wired up when using a decorated Textfield. Furthermore in Spring rich the setup of the table model is a breeze also, quite like using the grid in Tap5. What would be great would be a component which combines all this in one place. And unfortunately my expertise is probably not high enough to do it myself. My idea would be a component like Grid but with additional parameters for the filter fields and the Textfield automatically included. Maybe like FilteredGrid. The problem is to keep the parent List and the filtered List in sync always without hogging the memory too much. After all GlazedLists was developed for Swing apps where you don't have concurrent users in the app itself and all the system memory belongs to you. Propagation of database changes would anyways be too much to ask in either case. Regards, Otho 2009/1/27 Thiago H. de Paula Figueiredo <thiag...@gmail.com> > Some creative usage of Tapestry's Grid and Zone components, together with a > TextField, can already do the most part of what you're describing here. > > Em Tue, 27 Jan 2009 15:09:18 -0300, Otho <taa...@googlemail.com> escreveu: > > > Hi all! >> >> I was wondering if there is something like GlazedLists List >> transformations >> for T5. In Spring richclient it is for example possible to have a table >> filtered by multiple columns by typing in a textfield which is very neat >> for >> usecases where you have to narrow down a list/grid by several criteria >> since >> it leverages glazedlists internally. >> >> For the few who may not know it: http://publicobject.com/glazedlists/ >> >> Imagine you have a grid of customers and a textfield where you can enter >> customer number, zip code or name of the customer you look for. As you >> type >> the list and thus the grid gets filtered down until you have only a few on >> the screen and can select the appropriate entity. >> The filtering works by case insensitive String.contains(), so if you for >> example misheard a name on the phone while taking the order you can enter >> only the start, the middle or the end of the name. >> >> This combined with Ajax would make handling of large lists much easier >> without having to resort to full text indexing or search forms. >> >> But as far as I understood it, GlazedLists is tightly bound to Swing. So >> my >> question is, if there is something similar in the webapp world. If not it >> would be a really really great addition. >> >> Regards, >> Otho >> > > > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > Consultor, desenvolvedor e instrutor em Java > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >