That's simlar to what I need, except that it's not an indexd property. Can some of your code or send it to me offline.
thanks, Saul > On my current project I've written a validation method that > dynamically invokes other validation rules depending on the String > returned by bean.getDepends() > > It's used with indexed properties where the fields for the form to > fill in are configurable and come from a database. > > Is that what you're after? > > Stew > > On 19/10/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> >> I'm wondering if there is a way to define conditional validation for >> mask, >> date, integer etc in validation.xml. I know there is a "validwhen", but >> it >> only checks for the condition as defined by the "test" variable. What I >> want is to perform the mask, date validation only some conditions are >> met. >> I wonder if there is a way to do that? Any points are welcome. >> >> thanks, >> Saul >> >> >> --------------------------------------------------------------------- >> 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]