From: "Andrew Tomaka" <[EMAIL PROTECTED]>

> 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.

There's nothing wrong with sharing one form across multiple Actions.  I do
it for an accounting reporting webapp.  All of the forms ask for similar
things, such as account numbers and dates, and this makes it simple for all
the HTML forms to "remember" their selections.  (The form is in session
scope, so it happens naturally.)

Just wanted to point out that there is no ironclad one-to-one relationship
between HTML forms and form beans.

-- 
Wendy Smoak


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

Reply via email to