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
> 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
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
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"))
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"))
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
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
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
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
-
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
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
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
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
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
-
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
(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
>
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
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.
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
19 matches
Mail list logo