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
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
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
*