Hello,

Does anyone have an idea how to invoke validation annotations on nested
objects?

We’re using hierarchal objects in Struts 2.1 and the validation annotations
do not seem to be firing on the child objects.

For example I have a Customer object which has an Address object as an
attribute.  Annotations on the customer object fire correctly, but the
annotations on the address object are not invoked.

We’re using the VisitorFieldValidator on the Action and the
validate.validateAnnotatedMethodOnly parameter on the interceptor stack.

Any thoughts would be appreciated.

Eric Getchell | Sr. Technologist

Distributed Logic Corporation

-- 
View this message in context: 
http://www.nabble.com/Struts2.1%3A-Is-Validation-Annotations-on-Nested-Objects-Supported--tp16852587p16852587.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to