Hello all!
I'm trying to implement a simple search field which will be available in
every page of my app, minding the context (as in ${actionBean.class}
context). The form will be aware of the kind of page it is included and will
return the results accordingly. The search form has 3 fields which will be
used as parameters for the search.
The question is: In the actionBean that will receive the form POST should I
have all the form's fields declared as parameters? In the contact form
examples from the book, the form's fields are binded to properties available
from within the Contact actionBean class.
But I would like to let me actionBeans "free" from the form input's names,
parsing the received form and choosing the methods that will query the DB as
I which.
Is possible to do something like that? or should I have the form's fields
also declared as parameters inside the actionBeans?
cheers!
Fabio
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users