validwhen isn't available in struts 1.1 is it? have you used this or tested it?
----- Original Message ----- From: "Marc Dugger" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 27, 2003 5:32 PM Subject: RE: requiredif > My understanding is that 'requiredif' will be deprecated and the use of > 'validwhen' is encouraged. > > Example: > > <field property="emailAddress" depends="validwhen"> > <arg0 key="userinfo.emailAddress.label"/> > <var> > <var-name>test</var-name> > <var-value>((sendNewsletter == null) or (*this* != > null))</var-value> > </var> > </field> > > > > -----Original Message----- > > From: Rhet Behler [mailto:[EMAIL PROTECTED] > > Sent: Monday, October 27, 2003 5:47 PM > > To: Struts Users Mailing List > > Subject: requiredif > > > > > > Has anyone used this in the validation.xml? > > > > If so could I see a simple example? > > > > If not what are you using validwhen? > > > > thanks > > > --------------------------------------------------------------------- > 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]