You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alireza Fattahi <Al...@pdpsoft.com> on 2002/11/19 13:06:53 UTC

Design pattern for search and search result pages

Hi,

Imagine an application has 10-15 search and search result pages. We use
dynform to get the information from search page form. So we do not write any
code (form object) for this part. 
We search database and now want to return the results. 

Should we create an object like UserSearchResultObject.java and return the
results as an array of this object?

Could we create a dynamic form for search result too, and return an array of
this form? Is it possible? Does it make sense? (It will remove the force of
writing the object)

Is there a predefined pattern out there?
Thanks
Alireza.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>