BeanModelFactory: how to BeanModel to Bean ?

119 views
Skip to first unread message

Rodolphe Gomes

unread,
Apr 25, 2011, 4:20:47 AM4/25/11
to Google Web Toolkit
Hello,

I am using beanModelFactory to build BeanModel Collection from
JavaBean Collection (using @BEAN(UserDTO.class)):
final BeanModelFactory beanModelFactory =
BeanModelLookup.get().getFactory(UserDTO.class);
final List<BeanModel> createModel =
beanModelFactory.createModel(proxy.users());

My question: is there the same way to build JavaBean from beanModel ?

Thanks a lot

Rodolphe Gomes

unread,
Apr 25, 2011, 12:45:10 PM4/25/11
to Google Web Toolkit
getBean() solved :)

Thanks
Reply all
Reply to author
Forward
0 new messages