>>> On Wed, 20 Jun 2001 19:01:52 +0200,
>>> "Thomas" == Thomas Klute <[EMAIL PROTECTED]> wrote:
Thomas> The scope "request" for the actionformbean creates a
Thomas> new bean with every request - impossible to collect the
Thomas> data from more than one page.
How about if you propagate data thru the pages using hidden fields? Note,
though, that this means passing lots more data back-and-forth between the
browser and server, and you'll have to re-validate the data for each
request.
Thomas> The scope "session" creates one actionformbean per
Thomas> session - impossible to have more than one "instance"
Thomas> of a form-page-set.
For each distinct multi-page "operation", you could generate a unique
operation ID (or call it a "sub-session ID", if you like). Then, use the
op-ID as the key to store your ActionForm on the Session. You'd need to
invoke ActionForm.validate() yourself within your action, as the ActionForm
would no longer have standard "name". Plus, you might have to deal with
ActionForms for aborted operations littering your session.
--
Mike