Works for me - try putting addtional parens around the whole expression:
<var-value>((submit == 'delete') or (*this* != null))</var-value>
Niall
----- Original Message -----
From: "Matthew Van Horn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, July 24, 2004 12:05 AM
Subject: Re: 1.21
> I'm trying but I cannot seem to get the validwhen validation to work
> with other validators - especially mask.
>
> I'm not sure if it is me doing something wrong, or it is unsupported.
>
> Here's what I am trying:
> <form name="dynaPhoneNumberForm">
> <field property="phoneNumber" depends="validwhen,mask">
> <arg0 key="phoneNumber.displayname" />
> <var>
> <var-name>test</var-name>
> <var-value>(submit == 'delete') or (*this* !=
> null)</var-value>
> </var>
> <var>
> <var-name>mask</var-name>
> <var-value>^\d{4}-\d{4}$</var-value>
> </var>
> </field>
> </form>
>
> Other than this, I have not had major issues yet.
>
> On Sat, 2004-07-24 at 07:40, Vic Cekvenich wrote:
> > Is anyone using 1.21 in production?
> >
> > Any issues... ? Any issues w/ validator?
> >
> > tia,
> > .V
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> --
> Matthew Van Horn <[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]