To: Struts Users Mailing List
Subject: RE: short-circuit=true not working in field validator
--- Chamara Gunaratne [EMAIL PROTECTED] wrote:
s:form action=ApplicationSubmitAction.do validate=true
Ah.
I'm not sure that the short-circuiting behavior works with client-side
validation, although it probably
anywhere I have deviated from the documentation ...
Chamara
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Wednesday, March 05, 2008 2:44 PM
To: user@struts.apache.org
Subject: Re: short-circuit=true not working in field validator
Chamara Gunaratne wrote
, March 05, 2008 2:44 PM
To: user@struts.apache.org
Subject: Re: short-circuit=true not working in field validator
Chamara Gunaratne wrote:
Dave:
Thank you for your reply. I changed type attribute to requiredstring.
But
it doesn't help with the short-circuit problem.
Yes, both
=input/applications/application.jsp/result
/action
/package
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 6:00 PM
To: Struts Users Mailing List
Subject: RE: short-circuit=true not working in field validator
Please repost your configs
--- Chamara Gunaratne [EMAIL PROTECTED] wrote:
s:form action=ApplicationSubmitAction.do validate=true
Ah.
I'm not sure that the short-circuiting behavior works with client-side
validation, although it probably should. I don't see any code in the
generated JavaScript, however, that would enforce
--- Chamara Gunaratne [EMAIL PROTECTED] wrote:
I am using struts2 to validate form input. For some reason I can't figure
out, the short-circuit=true attribute is not working. Everything else
seems to be working fine. The validation rules are embedded in a
action_class_name-validation.xml
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 10:54 AM
To: Struts Users Mailing List
Subject: Re: short-circuit=true not working in field validator
--- Chamara Gunaratne [EMAIL PROTECTED] wrote:
I am using struts2 to validate form input
-
From: Chamara Gunaratne [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Wednesday, March 05, 2008 11:16 AM
Subject: RE: short-circuit=true not working in field validator
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 12:38 PM
To: Struts Users Mailing List
Subject: Re: short-circuit=true not working in field validator
by what Im seeing from XWork validators the first 'required' validator you
declared
Chamara Gunaratne wrote:
Dave:
Thank you for your reply. I changed type attribute to requiredstring. But
it doesn't help with the short-circuit problem.
Yes, both the first name and last name validators fire successfully and the
regex is correctly evaluated. Just the short-circuit part is not
Is anybody using the short-circuit attribute in the validations
successfully?
-Original Message-
From: Chamara Gunaratne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 12:56 PM
To: 'Struts Users Mailing List'
Subject: RE: short-circuit=true not working in field validator
--- Chamara Gunaratne [EMAIL PROTECTED] wrote:
Is anybody using the short-circuit attribute in the validations
successfully?
Yes.
I'm not in front of my dev machine so I can't do much more at the moment. I
don't recall seeing anything wrong with your configuration.
Dave
: Re: short-circuit=true not working in field validator
Chamara Gunaratne wrote:
Dave:
Thank you for your reply. I changed type attribute to requiredstring.
But
it doesn't help with the short-circuit problem.
Yes, both the first name and last name validators fire successfully and
the
regex
13 matches
Mail list logo