Thanks Kalle,
I appreciate your hint and I already used a solution like this for a shorter 
list of items.

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).

If you have used a ERP application you will recognize here a recurrent pattern: 
user needs to fill some fields, hit a lookup button, the button open a new page 
containing a list of items. The user select one of these item and fills the 
fields of the originating form.

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).

Thanks again for your help, but I need a different solution here!
larzeni





> Sent: Monday, August 03, 2015 at 6:37 PM
> From: "Kalle Korhonen" <kalle.o.korho...@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, Aug 3, 2015 at 7:58 AM, Luca Arzeni <l.arz...@iname.com> wrote:
> 
> > Hi,
> > I'm using tapestry 5.3.7 unde jboss6 (java6).
> > I'm developing an invoice form.
> > I already have a customer list, built with a grid.
> > While filling the invoice form, I need to show the customer grid, select
> > one of the customers, and retrieve his data (first and last name, addreess,
> > city, zip code phone numbers and so on...), to fill some fields of the
> > invoice form.
> > I would not like to use a select on the invoice data, since I have a large
> > list of customers.
> > What is the best practise to face this issue?
> >
> >
> The typical solution is to use some type of autocomplete field, where the
> user can start typing on a field and the system makes a lookup on the
> background and provides a list of matches based on the input. There's an
> autocomplete mixins available for a regular input field, see
> http://tapestry.apache.org/component-mixins.html. It may or may not work
> out-of-the-box but at least it'll give you ideas on how to build yours.
> 
> Kalle
> 

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

Reply via email to