Any ideas are appreciated.

Is there anyway to keep my session-scoped form from being populated by a 
click of an <html:cancel> button?  Is there any hook in the underlying 
Action that I can intercept prior to the ActionForm auto-population?

Thanks,
Angie


Angie Lin wrote:

> Hi there,
>
> How can I prevent a cancel button from populating the form bean? 
> Normally this isn't a problem, except that my form bean is in 
> session-scope (for an wizard-like implementation).
>
> I've considered reconfiguring it so that the form stays in 
> request-scope for each page in the wizard.  I would then instantiate 
> the form in session-scope myself and manage the copying of form fields 
> from each page manually depending on if the user submitted or 
> cancelled.  But I was hoping for a simpler solution.
>
> thanks,
> Angie
>
>
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>


-- 
Angie Lin
[EMAIL PROTECTED]
408.519.9250



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

Reply via email to