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 =
try with this:
AutoBeanT oldBean = AutoBeanUtils.getAutoBean(oldProxy);
AutoBeanT newBean = AutoBeanUtils.getAutoBean(newProxy);
AutoBeanCodex.decodeInto(AutoBeanCodex.encode(oldBean),
newBean);
newProxy = newBean.as();
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