T5 Grid How to show embedded property-values?

2008-01-06 Thread Otho
Hi all, How is it possible to show properties of embedded objects in a grid? Example: class Master { String name; Slave slave; } class Slave { String name; Date enslaved; } The grid should show: Name (master) - Name (slave) - Date enslaved When I constuct a BeanModel for this

Re: T5 Grid How to show embedded property-values?

2008-01-06 Thread Howard Lewis Ship
That's supposed to work. Please show more of your code. On Jan 6, 2008 7:48 AM, Otho [EMAIL PROTECTED] wrote: Hi all, How is it possible to show properties of embedded objects in a grid? Example: class Master { String name; Slave slave; } class Slave { String name; Date

Re: T5 Grid How to show embedded property-values?

2008-01-06 Thread Otho
I created a service to create beanmodels like this: public class BeanModelHelperImpl implements BeanModelHelper { /** * Create a BeanModel for a class from an ordered array of * Strings for the fieldnames. * * @param clazz the class for which the model is to be built *