Thomas,
You are correct in understanding my issue. I tried
calling AutoBean.clone(), but is fails with a "Cannot clone wrapped bean"
error.
I was however able to resubmit the proxy successfully using the following:
AutoBean<Test> autoBean = AutoBeanUtils.getAutoBean(test);
autoBean.setFrozen(false);
requestContext = requestFactory.testRequest();
autoBean.setTag("requestContext", requestContext);
driver.edit(test, requestContext);
calling autoBean.setTag("requestContext", requestContext) is needed to avoid
a "Attempting to edit an EntityProxy previously edited by another
RequestContext" error. I know it's a hack but it's the only thing I can
get to work other than copying the proxy into a new proxy property by
property.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.