struts-user mailing list archives

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

--- Dave Newton <newton.dave@yahoo.com> 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.

d.



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message