Betty Koon wrote:
Matt,
Have you tried putting just white spaces in the field for first name in the
third test case. It will pass which is incorrect, that's the part I don't
understand and got stucked on. It looked like validwhen treated all
whitespace string value for a field the same way as the
ld is null.
-Betty
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 2:30 PM
To: Struts Users Mailing List
Subject: Re: ValidWhen validation
Betty Koon wrote:
> It's Server side.
>
> -Betty
>
> -Original Message---
a textbox.
-Betty
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 2:30 PM
To: Struts Users Mailing List
Subject: Re: ValidWhen validation
Betty Koon wrote:
> It's Server side.
>
> -Betty
>
> -Original Message---
Betty Koon wrote:
It's Server side.
-Betty
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 2:15 PM
To: Struts Users Mailing List
Subject: Re: ValidWhen validation
Betty Koon wrote:
My question is even if I type 123 in the field, it
It's Server side.
-Betty
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 2:15 PM
To: Struts Users Mailing List
Subject: Re: ValidWhen validation
Betty Koon wrote:
> My question is even if I type 123 in the field, it still c
Betty Koon wrote:
My question is even if I type 123 in the field, it still complains about the
field is required?? I am really confused now ...
Ahh, missed that one - is it Javascript or server-side validation doing
the complaining?
Matt
-
: ValidWhen validation
Betty Koon wrote:
> Matt,
>
> I have also tried to match a different mask like ^123$ for a test.
> And it always complains about the field is required. Any idea?
>
It is the same basic problem, you are saying now that the field is
required and that it must be
Betty Koon wrote:
Matt,
I have also tried to match a different mask like ^123$ for a test. And it
always complains about the field is required. Any idea?
It is the same basic problem, you are saying now that the field is
required and that it must be the string "123".
I was thinking about this a
: Re: ValidWhen validation
Betty Koon wrote:
> That's originally what I have (without mask), the non-whitespace check
> is not performed by validwhen. I wasn't sure if I can use validwhen
> together with mask. I was able to use validwhen in conjunction with
> email validat
Betty Koon wrote:
That's originally what I have (without mask), the non-whitespace check is
not performed by validwhen.
I wasn't sure if I can use validwhen together with mask.
I was able to use validwhen in conjunction with email validator though.
You can use validwhen and mask together. The probl
je [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 1:15 PM
To: Struts Users Mailing List
Subject: Re: ValidWhen validation
Betty Koon wrote:
> Hi all,
>
> I am trying to do the form field A and B.
>
> Here is the example:
>
> Field A will be required and should con
Betty Koon wrote:
Hi all,
I am trying to do the form field A and B.
Here is the example:
Field A will be required and should contain a non-whitespace string if B is
true.
Here is the rule segement I defined in the validation.xml. I can't get it
work correctly. Can someone tell me what I am doing
Oh sorry, i misreported. I am getting the following error from my app.
May 11, 2004 12:30:38 PM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
May 11, 2004 12:30:54 PM org.apache.commons.validator.Validato
Is there anything else I need to do besides replace my
validation-rules.xml? I still can't get it to work after updating my
validation-rules.xml I went to revision 1.34 because when I tried the
latest revision I was getting errors from the validator. 1.34 has no
problems (except validwhen won't w
what do I specify as the id to iterate over the ActionErrors in the page
scope
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 10:48 AM
To: Struts Users Mailing List
Subject: Re: validwhen validation
I was under the (mistaken) impression it
I was under the (mistaken) impression it had shipped with 1.1 - but seems it
was removed for the 1.1 release and then added back in after. You can find
the current validation-ruls.xml in CVS here:
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/conf/share/
or if you download a nightly build, it
16 matches
Mail list logo