I imagine I've over complicated the problem, so I've taken a step back
and am looking at it from the beginning again.  The following are my
basic requirements:

When the user makes the first request, they are taken to a page with a
drop down menu.  This drop down menu is built from information stored
in a database so I need to do some pre-processing.

After that, the user chooses an option from the drop down menu and
chooses to search.  This returns a page that has the same form that
was built in the first request on top and then a second form that
lists the results of their drop down.  This allows users to choose
which of the results to edit.

At this point the user can either use the drop down menu and have the
bottom list rebuilt or choose a result to edit and proceed.

My problem is that I have a "PreAction" to do the processing on the
form.  This requires the page to have the form bean assigned to it. 
Since I have two different forms doing two different things, I should
have two different form beans, but I don't see how I can accomplish
that.

This is going to be a common thing to do throughout my entire
application so I am hoping a simple design solution will pop up.

Let me know if you need any other clarifications.

I appreciate the help so far!
~ Andrew Tomaka

On 7/7/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Andrew Tomaka wrote the following on 7/7/2005 10:26 AM:
> 
> > I'm attempting to create a JSP that is made up of two forms.  Each
> > form needs a different form bean and is processed by a different
> > action.  The catch is that the first form returns back to the JSP and
> > the action responsible for this needs the name attribute set to the
> > Form Bean of the first form.  When the JSP is loaded after the
> > processing of the first form, both the form tags are assigned the name
> > of the first Form Bean.
> 
> I'm confused what you are trying to do. Possibly you can describe the
> user requirements?
> 
> 
> --
> Rick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to