Hello again

Thank you Niall for your suggestion, again it was a mistake with my quick
muck/mock-up.  However, the issue still occurred.  

After a fair amount of investigation, I have managed to work out that it was
down to the fact that the html:errors and html:messages could not find the
resource strings in the application bundle that contained the key of the
error that was occurring (errors.required).  I have amended my standard
application resource, and hey-presto, I feel a real numpty for not reading
Programming Jakarta Struts properly.  Definitely a case of RTFM if there
ever was one!

Cheers for all the suggestions.

Christopher Marsh-Bourdon
www.marsh-bourdon.com


-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2005 11:04
To: Struts Users Mailing List
Subject: Re: struts 1.3 dev with validator 1.2 dev


The method signature on these validators has changes - you need to deploy
the updated validator-rules.xml with your app

Niall

----- Original Message ----- 
From: "Riyaz Mansoor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, April 21, 2005 10:57 AM
Subject: struts 1.3 dev with validator 1.2 dev


Hi guys

sort of a repost - more details

using Validator 1.2 (nightly build) on struts 1.3 dev build

keep getting this error during validation. and not just for "required"
but all checks. error is printed on the tomcat log standard out.
further the action to which the form is submitted is executed after
this error is thrown.

any ideas?


SEVERE:
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionMessages,
javax.servlet.http.HttpServletRequest)
org.apache.commons.validator.ValidatorException:
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionMessages,
javax.servlet.http.HttpServletRequest)
at
org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorA
ction.
java:584)
at
org.apache.commons.validator.ValidatorAction.executeValidationMethod(Validat
orActi
on.java:514)
at org.apache.commons.validator.Field.validateForRule(Field.java:704)
at org.apache.commons.validator.Field.validate(Field.java:783)
at org.apache.commons.validator.Form.validate(Form.java:203)
at org.apache.commons.validator.Validator.validate(Validator.java:302)
at
org.apache.struts.validator.DynaValidatorForm.validate(DynaValidatorForm.jav
a:110)


thanx
riyaz

---------------------------------------------------------------------
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]


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3167
--------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to