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

validWhen problem?

2006-10-10 Thread Mallik
he no need to give any details for "lunchFrom" and "lunchTo", if not she should give let me know how to meet that need ur's Mallik -- View this message in context: http://www.nabble.com/validWhen-problem--tf2416301.html#a6735359 Sent fr

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"))

validwhen problem in combination with RadioButton

2005-12-27 Thread niels
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
ay, March 15, 2005 7:15 PM Subject: validwhen problem Hello, I am having troubles getting the validwhen validation to work. test (confirmPassword == this) I have a bean that extends the ValidatorForm and has setters and getters for the two

validwhen problem

2005-03-15 Thread Scott Purcell
Hello, I am having troubles getting the validwhen validation to work. test (confirmPassword == this) I have a bean that extends the ValidatorForm and has setters and getters for the two fields I need. getPassword(); setPassword(String pa

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)
(Pete)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 12:18 AM Subject: validwhen problem I am trying to force a field to have a value if a checkbox is checked using validwhen in my validation.xml. I am having a few problems: 1) The field to fill in

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
riginal Message - From: "Cato (Pete)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 12:18 AM Subject: validwhen problem > I am trying to force a field to have a value if a checkbox is checked > using validwhen in my validation.xml.

validwhen problem

2004-10-26 Thread Cato (Pete)
I am trying to force a field to have a value if a checkbox is checked using validwhen in my validation.xml. I am having a few problems: 1) The field to fill in has an initial value of 0. If this is zero and the box is unchecked this is valid ( I can't get this to work ) I can get it to check fo