Re: Validator - requiredif validation query

2005-10-18 Thread Kishore Senji
May be you could use "validWhen". I'm not sure if this works, may be you could give it a try test ((*this*==null) or ((*this*!=null) and (sub1.x!=null ))) On 10/18/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a way to perform 'requiredif' validation on nested objects ?

Validator - requiredif validation query

2005-10-18 Thread Ashutosh Satyam
Hi, > Is there a way to perform 'requiredif' validation on nested objects ? > I would like to check for the value of an object only if the object > containing > it is not null. > > In the following example scenario: > > Class A{ > String x; > String y; > } > > Class Obj{ > A