Thanks Thiago,

I have built a JPA datasource provider that is similar to the hibernate one, 
and it manages filtering, sorting and paging so the size of a grid is not an 
issue; I was declaring that the dataset is verylarge only to explain the reason 
why I cannot use an autocomplete/drop down field.

Regarding the "user interface question", well, ehrrr... ehm... I was using 
tapestry exactly to build the user interface, so I was appreciating the grid 
that allows me to show many columns to the user. I was simply hoping to find a 
"standard" way to solve this issue, if I'm the first one to have this need may 
be I choose the wrong tool for this task :-)

Thanks again,
Luca



> Sent: Monday, August 03, 2015 at 7:42 PM
> From: "Thiago H de Paula Figueiredo" <thiag...@gmail.com>
> To: "Tapestry users" <users@tapestry.apache.org>
> Subject: Re: Filling some filed of a form selecting a row from a grid
>
> On Mon, 03 Aug 2015 13:55:54 -0300, Luca Arzeni <l.arz...@iname.com> wrote:
> 
> > The point here is that the list needs to be shown in a grid since it has  
> > more than 100.000 items, and I need to allow the user to filter it  
> > according to few criteria (that I've already implemented in the page  
> > that contains the grid).
> 
> Remember the source parameter of Grid receives a GridDataSource object,  
> not a List, so just implement it to do the search you need to do with  
> paging (i.e. retrieve just the objects you'll show right now).  
> tapestry-hibernate already has HibernateGridDataSource, which already  
> implements a part of it (pagination) and you just need to provide the  
> query criteria.
> 
> > By the way: the user needs to see a list of customers since many users  
> > have similar values (same name, same city...) so he needs to examinate  
> > more than one field to choose the right one (which is the reason why a  
> > show a list of customers in a grid).
> 
> This looks more of an user interface question than a Tapestry one, to be  
> honest . . .
> 
> -- 
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to