Instead of this: <var-value>(*this* >= 0)</var-value>
Use this: <var-value>(*this* >= 0)</var-value> Its to do with how your '>' characters are parsed. Harsh. -----Original Message----- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 8:01 AM To: user@struts.apache.org Subject: RE: validation with validwhen can someone help me with this please? thanks. >From: "fea jabi" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <user@struts.apache.org> >To: user@struts.apache.org >Subject: validation with validwhen >Date: Thu, 25 May 2006 12:31:56 -0400 > >want to validate a property for > >required, >and also make sure it's value is greater than Zero. The value should be a >positive double. > >tried the below ><field property="fee" depends="required, validwhen"> > <msg name="required" key="lbl.required"/> > <msg name="validwhen" key="lbl.notvalidnumber"/> > <var> > <var-name>test</var-name> > <var-value>(*this* >= 0)</var-value> > </var> > </field> > >when nothing is entered by the user, getting the required message. When >entered the characters not getting the message of validwhen. > >what am I missing? > >Thanks. > >_________________________________________________________________ >Don't just search. Find. Check out the new MSN Search! >http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --------------------------------------------------------------------- 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]