1) ActionForm gets pre-populated with intial values and/or values from database
2) User makes changes to the form that cause validation errors
3) The user sees their mistakes, hits "reset"
4) The user sees the original values from step 1
Whether you use request- or session-scoped ActionForms, the step 1 values are overwritten in step 2. Session-scoped ActionForms would actually be worse, because the step 1 values may be gone for the duration of the session. With request-scoped beans, they can at least hit the "back" button and refresh (depending on other details of the appplication).
-- Jeff
Peter Neu wrote:
Change scope="request" to scope="session" in order to remember!
Jeff Beal schrieb:
The <html:reset/> tag makes no attempt at "remembering" the original values of the ActionForm itself, it just includes an HTML input element of type 'reset'. All this does is to remove user edits from the current page. IOTW, the behavior you are describing is exactly as expected.
-- Jeff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]