struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject RE: Why is the reset method called when I submit the form?
Date Sat, 25 Jan 2003 06:47:10 GMT

On Fri, 24 Jan 2003, ROSSEL Olivier wrote:

> My question is: would it be interesting to add a "resetForm" attribute
> to the <action> tag. It would be optionnal, with default value to "true".
> Gurus seem not to like this idea.

My feeling is that adding this option would tempt many users (especially
beginners) to start twisting the architecture of their application around,
and run themselves into problems because they don't understand what they
would be giving up by setting this to false.

Advanced users who understand the implications, and want to do it anyway,
are also generally advanced to figure out how to subclass RequestProcessor
and turn off resets if they want to, without putting everyone else at risk
for making mistakes.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message