You can also use the parameter attribute in the validate method (assuming you're using an actionform and decide whether to validate there.


public ActionErrors validate(..) {

        String method = mapping.getParameter();
        String target = request.getParameter(method);

        if(target.equals("view") {
                return null;
        }
..
}

and so on..

Mark


On 2 Oct 2004, at 14:56, Richard Tuquet Laburre wrote:

may be you can put "validate=false" in your struts-config.xml and execute form.validate in the methods which have to validate your form
PS : excuse me ; my english is bad ; i am french ;-)


Gabriel França Campolina a écrit :

Hi Folks,

I have a action-mapping that mapping a Action named ProdutoAction that
extends LookupDispachAction and have 3 methods into: start, delete,
save. I'd like inicialized my form  with values of my dataBase request
the method start. With ActionForm I can do, but I was used the
DynaValidatorForm and Validator. And When I request the url
.../produto.do?method=start, it validate my form and call the my input
attribute, How I call a method in LookupDispachAction without
validate?????

Thanks,

Sorry Daniel, I don't more post my messages in portuguese....




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


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



Reply via email to