struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Validation on java.util.List
Date Wed, 14 Mar 2007 12:31:20 GMT
Just a quick followup regarding annotations:

--- Dave Newton <> wrote:
> I don't know if this is a "better way" or not and it
> does not use annotations (at least not yet), but...

If you annotate the class contained in the collection
the @VisitorFieldValidator still works.

This won't work for me, because my class is being
generated by HibernateTools (for now, anyway; I may
switch to annotated POJOs) so I still need to use the
XML validation config, but there you go.


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message