Please repost your configs, JSP, and action; I'll look at it again. Dave
--- Chamara Gunaratne <[EMAIL PROTECTED]> wrote: > Hmmm, I tried setting the log level to DEBUG and it yielded a mass of > logging entries, but nothing that was particularly insightful. Grepping on > short-circuit, validator, etc didn't bring out anything useful. > > Very strange problem, everything else seems to be working fine and I cannot > find 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: > > 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 working. > > > > > For example, if I submit a blank first name field, I get both error > > messages: "Please enter your first name" and "First Name may only contain > > letters, spaces, dashes, or periods". > > Cheers, > > AFAICT from the Validation documentation, it should be working as you > expect. I would suggest turning logging up to DEBUG for Struts and/or > XWork (probably XWork?) and see if you get anything that sheds light on > what's going wrong. > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > __________ NOD32 2924 (20080305) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]