Re: Brackets in validation.xml

2006-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Gundersen, Richard wrote: > Thanks for the lightning-fast response. Right place, right time. > I'd already suspected it might be something like that, so I was just > amending my code in a similar way. But, I was doing it the other way > ar

RE: Brackets in validation.xml

2006-12-12 Thread Gundersen, Richard
Yup That worked a treat Thanks Chris! -Richard -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: Brackets in validation.xml -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard

RE: Brackets in validation.xml

2006-12-12 Thread Gundersen, Richard
parentheses is it?! ;-) Cheers Richard -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: Brackets in validation.xml -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Gundersen

Re: Brackets in validation.xml

2006-12-12 Thread Martin Gainty
2006 9:30 AM Subject: Brackets in validation.xml Hi Can anyone please tell me why this works. It's two versions of a validation rule from my commons validator xml file (for a validwhen condition): ( ( (oldProductStatusId == 21) and ((productStatusId == 21) or (productStatusId == 2

Re: Brackets in validation.xml

2006-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Gundersen, Richard wrote: > Can anyone please tell me why this works. It's two versions of a > validation rule from my commons validator xml file (for a validwhen > condition): The parser that the validation package uses cannot parse express

Brackets in validation.xml

2006-12-12 Thread Gundersen, Richard
Hi Can anyone please tell me why this works. It's two versions of a validation rule from my commons validator xml file (for a validwhen condition): ( ( (oldProductStatusId == 21) and ((productStatusId == 21) or (productStatusId == 23) ) ) or ( (oldProductStatusId == 23) and ((produc