PDA

View Full Version : Nested BeanModel



bhaskar1484
3 Jan 2011, 3:00 AM
Can we create nested BeanModels? For example i have
//class A
Class A
{
String ss;
}
//Class B
Class B
{
String b;
A a;
}
i have object called B b; with some data
when we create BeanModel by using BeanModelLookup.getFactory(B.class).createModel(b)
then i'm BeanModel is not created for for class A, which inside Class B as a property.( when i do getProperties() on beanModel B i'm getting class A just bean not as beanmodel)

can you please let me what is the way create a Model for nested classes as well.

Thanks,
Bhaskar

bhaskar1484
4 Jan 2011, 5:00 AM
any help??

sven
4 Jan 2011, 11:27 AM
Please post a fully working testcase that implements EntryPoint and demonstrates exactly what you are doing.

If i remember right i fixed on issue related to this recently.

suganya08
24 Feb 2011, 12:27 PM
Any update on this? I have a similar requirement.