Re: Requiredif validator

2007-09-07 Thread Pablo Vázquez Blázquez
Hi Richard, Looking at http://struts.apache.org/2.x/docs/validation.html I don´t see there was "validwhen" validator... Besides that, the example you gave me is for Struts 1, isn´t it? I need an Strut2 one. Thanks. Gundersen, Richard escribió: Hi Pablo Try using validwhen instead - I think

RE: Requiredif validator

2007-09-07 Thread Gundersen, Richard
Hi Pablo Try using validwhen instead - I think rewquiredif was deprecated. I changed all mine and you can achive the same thing although your logic might have to be turned around a bit. Here's an example: