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 with fieldnames like String[] {"name",
"slave.name", "slave.enslaved"} ist doesn't work and I could not find an
easy way to combine BeanModels for Master and Slave.
Is there any possibility not using Transfer-Objects?
Regards,
Otho