dusty wrote:
> 
> You could create a special class for this property so you can use type
> conversion but that seems ugly.
> 
> You are better off using EL or a custom tag for rendering the property. 
> 

I thought about creating a new type (in Hibernate) for my "artists". But
only for storing "various artists" as null in the database, this seems to me
a little bit overdone. However I've to do some more complicated conversions
than this one and using the struts conversion for artists was only a trial.

Maybe I will write a custom tag to do the conversion.

By the way: Does anybody know, why they are using xml to define validators
and the old school property files for conversions?

Thanks, Titus


-- 
View this message in context: 
http://www.nabble.com/Struts-2-Type-Conversion-for-properties-of-a-List-tp21144957p21156805.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to