You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Drew Davidson <dr...@ognl.org> on 2004/08/14 16:27:13 UTC
Re: [SPAM] RE: OGNL 3.0.0 Preview 2 released
Jason Carreira wrote:
> Is it possible to get either type conversion or some other callbacks
> when setting a collection type with another collection? For instance,
> when copying the properties from one bean to another by property name,
> the first bean may have a property "foo" that's a collection of String
> objects, while the second object has a property "foo" that's a
> collection of Bar objects, and I'd like to be able to do type
> conversion from String -> Bar.
Writing a custom TypeConverter would seem the way to go with this, don't
you agree? Is there some reason that wouldn't work?
- Drew
--
+---------------------------------+
< Drew Davidson | OGNL Technology >
+---------------------------------+
| Email: drew@ognl.org /
| Web: http://www.ognl.org /
| Vox: (520) 531-1966 <
| Fax: (520) 531-1965 \
| Mobile: (520) 405-2967 \
+---------------------------------+