RE: Struts Validator: form value1 < form value2

2006-06-22 Thread Jeremy Nix
day, June 22, 2006 10:50 AM To: Struts Users Mailing List Subject: Re: Struts Validator: form value1 < form value2 The struts validator guide says you can only join 2 values with and or or. I'm guessing that means you either have to put in a lot more parentheses or that you can't use and

Re: Struts Validator: form value1 < form value2

2006-06-22 Thread Niall Pemberton
e- > From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 22, 2006 4:01 AM > To: Struts Users Mailing List > Subject: Re: Struts Validator: form value1 < form value2 > > Yeah validwhen can do it. anyway these antlr expressions are not very > intuiti

Re: Struts Validator: form value1 < form value2

2006-06-22 Thread The Jasper
Application Developer Southwest Financial Services, Ltd. (513) 621-6699 x1158 -Original Message- From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:01 AM To: Struts Users Mailing List Subject: Re: Struts Validator: form value1 < form value2 Yeah validwhen can d

RE: Struts Validator: form value1 < form value2

2006-06-22 Thread Jeremy Nix
thwest Financial Services, Ltd. (513) 621-6699 x1158 -Original Message- From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:01 AM To: Struts Users Mailing List Subject: Re: Struts Validator: form value1 < form value2 Yeah validwhen can do it. anyway these an

Re: Struts Validator: form value1 < form value2

2006-06-22 Thread Jakub Milkiewicz
Yeah validwhen can do it. anyway these antlr expressions are not very intuitive. If You have a problem let me kow i will try to help 2006/6/22, The Jasper <[EMAIL PROTECTED]>: hi, the validwhen validator can do what you want. mvg, Jasper On 6/22/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote:

Re: Struts Validator: form value1 < form value2

2006-06-22 Thread The Jasper
hi, the validwhen validator can do what you want. mvg, Jasper On 6/22/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote: Hi there, You can write a custom validator in Struts to do that, it's rather easy, both client-side and server-side. Open the jar of commons-validator to see some script for exi

Re: Struts Validator: form value1 < form value2

2006-06-21 Thread Truong Xuan Tinh
Hi there, You can write a custom validator in Struts to do that, it's rather easy, both client-side and server-side. Open the jar of commons-validator to see some script for existed validation rule should help. Regards. Tinh Jeremy Nix wrote: > How can I use the Struts Validator to enforce the abov

Struts Validator: form value1 < form value2

2006-06-21 Thread Jeremy Nix
How can I use the Struts Validator to enforce the above rule? Neither of the fields are required, but if both are given, they must adhere to the given rule. Thanks for any help, _ Jeremy Nix Senior Application Developer Southwest Financial Services, Ltd. (513)