)
OgnlRuntime is throwing a NPE and ValidationInterceptor is not catching it.
If I change my validation to:
foo != null && foo.startsWith(validPrefix)
it works.
Scott
--
View this message in context:
http://www.nabble.com/expression-validator-NPE-tp21039786p21039786.html
Sent
After chasing a CSS issue around tonight, I discovered the following
validation is not placing it's message in the collection
but rather it is adding to the . Shouldn't the validator
be adding to the field errors when a field name is specified?
credential.passwordRepe
,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
From: mojoRising <[EMAIL PROTECTED]>
Reply-To: Struts Users Mailing List
Date: Fri, 29 Feb 2008 06:55:51 -0800 (PST)
To:
Subject: Re: expression validator
Thanks. But I still don't understand...According to the link
0800 (PST)
> To:
> Subject: Re: expression validator
>
>
> Thanks. But I still don't understand...According to the link you mentioned it
> is not possible to do what I was trying to. So, what is the point of this
> validator if it doesn't do client side validation? And, ar
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> [...]
AFAICT this doesn't do client-side expression validation either. See, there
is no client-side expression validation. My comment was directed at the Roes
Indai person who implied that their tutorial would help the person with the
original questio
re are other places to do validation, like the server.
> And, are you saying that it is not possible to do a simple
> 'equals' test in client side validation?
>
> password.equals(password2)
> Passwords do not match
>
The expressions used by the expression validat
tor
* email validator
* url validator
* int validator
* double validator
http://struts.apache.org/2.0.11/docs/pure-javascript-client-side-validation.
html
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
--
View this message in context:
http://www.nabble
ppear
Here
Make sense?
M--
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, February 29, 2008 9:16 AM
Subject: RE: expression validator
> --- Deepak Kumar <[EMAIL PROTECTED]> wrote:
> >
--- Deepak Kumar <[EMAIL PROTECTED]> wrote:
> Here is very good example with running source code.
>
http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-example.shtml
Hmm, that doesn't seem to do client-side expression validation either, unless
I missed it. Perhaps you can point
List'
Subject: RE: expression validator
Hi,
You can override the default functionality and use , create the
validator.xml such that is can compare strings.
Refer the following site ,
http://struts2issues.blogspot.com/
this will give a complete idea of doing it.
Thanks .
-Origin
PROTECTED]
Sent: Friday, February 29, 2008 4:16 AM
To: user@struts.apache.org
Subject: Re: expression validator
Thanks, I confirmed my syntax, and now it does not do any client side
validation. Do I have this validator in the right place? Here is the
relevant code from my xml file:
http
> To:
> Subject: Re: expression validator
>
>
> Thanks, I confirmed my syntax, and now it does not do any client side
> validation. Do I have this validator in the right place? Here is the
> relevant code from my xml file:
>
>
> "-//OpenSym
the same as email2
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
--
View this message in context:
http://www.nabble.com/expression-validator-tp15746472p15747878.html
Sent from the Struts - User mailing list archive at
Feb 2008 13:31:19 -0800 (PST)
> To:
> Subject: expression validator
>
>
> (java - struts 2 - JSP - using xml based validation)
> I am trying to figure out how to do a simple client side validation
> expression, checking that two fields are equal. Could someone help me figure
I also tried these two variations:
Passwords do not match
And:
password == password2
Passwords do not match
--
View this message in context:
http://www.nabble.com/expression-validator-tp15746
15 matches
Mail list logo