At 3:26 PM +0100 10/17/05, [EMAIL PROTECTED] wrote:
Hi there,
I would like to make use of the errorStyleClass functionality with
validation errors that I create in my action class using
ActionMessages. I guess there must be a way of letting the
ActionMessage object know which UI field it is relating to.
Has anyone managed to do this without creating custom validation
controlled by validation.xml?
When you add an ActionMessage object to an ActionMessages collection,
you must specify the "property" with which the message associates.
This string should be exactly the value in the "property" attribute
of your form element in the JSP.
Hope that helps,
Joe
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]