Hello struts users ! I am building a web application whose users will often need to search many diffrent kind of entity. To find it they will have the choice between to click on the element through a table (not really convinient when there are many entity) or to find it by a search on the name with a s:autocomplete balise.
That I would like to do is to create a genreic jsp page which would appear in pop up and would permit to search on diffrent kind of entities according to a parameter I give to it. For exemple if i call my pop up with parameter '1', the s:autocomplet will search the companies, if i call it with parameter '2' the s:autocomplete will search clients. I have two question : how to manage pop up with struts 2, is it useful tu use jquery to do it ? Do you think i have a good approach of the problem ? Does an easier way exist to do it ? Best regards, -- Stéphane Cosmeur