11/11/2002 2:03:56 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]> 
wrote:
>An alternative strategy is to make the reset() method of your 
form beans
>smarter about which page of a multi-page wizard this submit is 
for (easy
>to determine because reset() has access to the request).

I find this to be a very effective strategy myself. If you are 
using a ValidatorForm, there is already a built in page property. 
So, when page>0, then you can have your baseform skip the default 
reset. When I have set this up, I can set page=1 when forwarding 
between Actions to keep it from resetting everything. Though, I've 
pretty much given up on resetting anything but checkboxes anyway. 

This might even be a reasonable default behavior for the 
DynaValidatorForm. If page>0, then don't automatically reset 
everything.

-Ted.



--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to