You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohamed SIDI <mh...@gmail.com> on 2011/03/14 15:21:54 UTC
Validate method call validator
Hi all,
I wd like to know if in my validate method, I can call et validator rule in
my ActionName-validation.xml.
Some things like :
.
.
.
validate (){
.....
if(condition)
call a validator rule in ActionName-validation.xml
}
Best wishes
--
Re: Validate method call validator
Posted by Dave Newton <da...@gmail.com>.
On Mon, Mar 14, 2011 at 10:21 AM, Mohamed SIDI <mh...@gmail.com> wrote:
> I wd like to know if in my validate method, I can call et validator rule in
> my ActionName-validation.xml.
>
> Some things like :
> .
> validate (){
> .....
> if(condition)
> call a validator rule in ActionName-validation.xml
> }
Not really, but there shouldn't be any real need to, either--what
problem are you specifically trying to solve?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org