Niall Pemberton wrote:

Having said that, is this really what you have in your struts-config.xml? I would have expected to see validate="true" as well.


I (almost) never use the validate="true" attribute because I (almost) always use the same action for creation and editing--if the auto-validation is on it validates an empty form, which is almost never right, so I call validation only on POSTs.

It's handled by a base Action class, so I (almost) never have to think about it, but I _do_ have to remember to set it to false in the struts-config to avoid confusion later.

Which leads me to a somewhat off-topic question: How do other people do this? I haven't used validate="true" since (almost) the time I started using Struts because of this issue.

Dave



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



Reply via email to