RE: short-circuit=true not working in field validator

2008-03-10 Thread Chamara Gunaratne
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

RE: short-circuit=true not working in field validator

2008-03-07 Thread Chamara Gunaratne
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

RE: short-circuit=true not working in field validator

2008-03-07 Thread Dave Newton
, 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

RE: short-circuit=true not working in field validator

2008-03-07 Thread Chamara Gunaratne
=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

RE: short-circuit=true not working in field validator

2008-03-07 Thread Dave Newton
--- 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

Re: short-circuit=true not working in field validator

2008-03-05 Thread Dave Newton
--- 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

RE: short-circuit=true not working in field validator

2008-03-05 Thread Chamara Gunaratne
-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

Re: short-circuit=true not working in field validator

2008-03-05 Thread Martin Gainty
- 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

RE: short-circuit=true not working in field validator

2008-03-05 Thread Chamara Gunaratne
-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

Re: short-circuit=true not working in field validator

2008-03-05 Thread Laurie Harper
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

RE: short-circuit=true not working in field validator

2008-03-05 Thread Chamara Gunaratne
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

RE: short-circuit=true not working in field validator

2008-03-05 Thread Dave Newton
--- 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

2008-03-05 Thread Chamara Gunaratne
: 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