Re: Cloning EntityProxies

2012-08-28 Thread El Mentecato Mayor
This works! Thanks. (just wanted to state that for the record). On Thursday, April 12, 2012 11:57:27 AM UTC-4, gwtomni gwtomni wrote: try with this: AutoBeanT oldBean = AutoBeanUtils.getAutoBean(oldProxy); AutoBeanT newBean =

Re: Cloning EntityProxies

2012-04-12 Thread gwtomni gwtomni
try with this: AutoBeanT oldBean = AutoBeanUtils.getAutoBean(oldProxy); AutoBeanT newBean = AutoBeanUtils.getAutoBean(newProxy); AutoBeanCodex.decodeInto(AutoBeanCodex.encode(oldBean), newBean); newProxy = newBean.as();

Cloning EntityProxies

2012-03-20 Thread Rogelio Flores
I have started to use RequestFactory (RF) recently (long-time RPC user). There's something I haven't found how to do apart from manually copying data; I want to clone an EntityProxy. In fact, one that contains a 1:n mapping (contains a List of other EntityProxies). Not sure this last part