You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Puneet Lakhina <pu...@gmail.com> on 2006/10/10 15:29:16 UTC

Custom Validation

Hi,
I have an action which extends DispatchAction. So i basically have three
methods, one for displaying the page before creating a new request, one for
accepting the submit of a new request and one for accepting the submit of an
update request. Now i dont want validations to occure when im only
displaying the page.. i.e. when it comes to the display method.

Is this the wrong way of doing things?? Should i make the method which sets
up the page for display a separate action alltogether??

Thanks

-- 
Puneet