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
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"))
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
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
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
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
>
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
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 ---
15 matches
Mail list logo