Re: validWhen problem?

2006-10-10 Thread Laurie Harper
Dave Newton wrote: From: Mallik [mailto:[EMAIL PROTECTED] HI friend i have problem with validwhen, it is not working What, specifically, does not work? test (noLunch == 'Y') If I understand the documentation at http://struts.apache.org/1.2.9/userGuide/dev_validat

RE: validWhen problem?

2006-10-10 Thread Dave Newton
> From: Mallik [mailto:[EMAIL PROTECTED] > > HI friend > i have problem with validwhen, it is not working What, specifically, does not work? > > > > test > (noLunch == 'Y') > > If I understand the documentation at http://struts.apache.org/1.2.9/userGuide/dev_validator

Re: validwhen problem in combination with RadioButton

2005-12-27 Thread Laurie Harper
niels wrote: Hi, I want to validate a form: company field may only be filled if the selected (by radiobutton) addresstype is equal to CN I try to do this via: test ((*this* != null) and (addressType=="CN"))

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
In the binary distribution it should be in the "lib" folder along with all the other jars (including struts.jar). Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 8:40 PM Thanks Hubert, I fixed the property, but I cannot seem to find t

RE: validwhen problem

2005-03-15 Thread Scott Purcell
day, March 15, 2005 2:32 PM To: Struts Users Mailing List Subject: Re: validwhen problem On Tue, 15 Mar 2005 14:27:15 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > > My Bean has the getPassword() and getConfirmPassword() methods. Can anyone > help here. Perhaps your

Re: validwhen problem

2005-03-15 Thread Hubert Rabago
On Tue, 15 Mar 2005 14:27:15 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > > My Bean has the getPassword() and getConfirmPassword() methods. Can anyone > help here. Perhaps your property needs to be set to "confirmPassword". > > thanks, > > Error: ##33 > java.lang.No

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
Looks like you don't have jar for antlr (i.e. antlr.jar) deployed in your webapp. Its shipped with the struts binary distribution and is needed by validwhen. Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 8:27 PM Still having problems

RE: validwhen problem

2005-03-15 Thread Scott Purcell
- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 1:36 PM To: Struts Users Mailing List Subject: Re: validwhen problem The this keyword needs to be enclosed in astrix... (confirmPassword == *this*) http://struts.apache.org/userGuide/dev_validator.html#validwhen

Re: validwhen problem

2005-03-15 Thread Niall Pemberton
The this keyword needs to be enclosed in astrix... (confirmPassword == *this*) http://struts.apache.org/userGuide/dev_validator.html#validwhen Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 15, 2005 7:15 PM Sub

Re: validwhen problem

2004-10-26 Thread Cato (Pete)
esday, October 27, 2004 12:36 AM Subject: Re: validwhen problem Code Below ( ((hasSold == null) and (*this* == 0)) or ((hasSold != null) and (*this* != 0)) ) Niall Pemberton wrote: On second thoughts, maybe you should post the relevant bit of your validation.xml showing the *test* par

Re: validwhen problem

2004-10-26 Thread Niall Pemberton
Looks OK to me, so give 1.2.5 a go and see if that works. - Original Message - From: "Cato (Pete)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 12:36 AM Subject: Re: validwhen problem &g

Re: validwhen problem

2004-10-26 Thread Cato (Pete)
- From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 12:32 AM Subject: Re: validwhen problem I fixed a bug in Version 1.2.5 to do with numeric values in validwhen. Can you try

Re: validwhen problem

2004-10-26 Thread Cato (Pete)
Niall, Shall try that later. At work just now, so can't download the new version here. Could I just ask quickly - does the validation take place client side or server side? - Could you help with the drop down issue I had as a result? Niall Pemberton wrote: I fixed a bug in Version 1.2.5 to do w

Re: validwhen problem

2004-10-26 Thread Niall Pemberton
> Sent: Wednesday, October 27, 2004 12:32 AM Subject: Re: validwhen problem > I fixed a bug in Version 1.2.5 to do with numeric values in validwhen. Can > you try it out and see if it fixes your problem. > > Its available here: > > http://svn.apache.org/dist/struts/v1.2.5/ &g

Re: validwhen problem

2004-10-26 Thread Niall Pemberton
I fixed a bug in Version 1.2.5 to do with numeric values in validwhen. Can you try it out and see if it fixes your problem. Its available here: http://svn.apache.org/dist/struts/v1.2.5/ Please note,Version 1.2.5 is only a *test* build and hasn't been "released" Niall - Original Message ---