Struts 2 Converting specific List User property

2009-09-27 Thread David Harland
Hi, I have an UsersAction that has a List user; User has the property java.util.Date dateOfBirth I want to use a default Convertor for java.util.Date in xwork-converion.properties which I know how to do, but I want to have a different Convertor for dateOfBirth. Is this possible and if so how d

Re: Struts 2 Converting specific List User property

2009-09-27 Thread Peter Phillips
Sounds like you want to apply a converter to the Users class rather than to the UsersAction itself. >From the docs >(http://struts.apache.org/2.1.6/docs/type-conversion.html#TypeConversion-ApplyingaTypeConvertertoabeanormodel) you could create a custom converter for the Users class called Users-c