Sashi wrote:
> I do not want to validate when page loads, so how can I avoid it unless I
give 
> validate=false in the action mapping?

Override the validate method in your Form bean, and only call
super.validate() when appropriate.  How to decide that is up to you.  I use
a LookupDispatchAction, so I check for the userAction request parameter
being "Finish" which tells me the user is, well, Finished!

But you can place a hidden field on the form and check for that, or check
that the request has been POSTed to you which will (usually) indicate that
the form has been submitted.

Even with Dynamic Forms, I still have Java classes for each Form because I
need to control the validate and reset behavior.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Public Affairs, Information Resources Management
Arizona State University, Tempe AZ 

Reply via email to