You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@gmail.com> on 2004/08/19 21:18:04 UTC

input and output form

I often times run into the conflict, when developing a Struts
application, of which form to choose for a given action.  The scenario
is such that one form is being populated by the request while the
other form needs to be populated for the output.  An example would be
a sequence of pages describing an employee and his/her employment
data.  The first page might be a form to search for employees.  The
second page would display the employee.  Finally, the third page might
show the details of an employment.  Each page has to lookup
information and then prepare a form to display nested information.

Which form to use?  Perhaps Struts should have the concept of an input
and an output form.  Or is the solution just to split the action into
two and then do an internal forward from one to the next in sequence.

Dan

-- 
Open Source Advocacy
http://www.mojavelinux.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org