I think this is a known bug. I saw it mentioned recently and thought that there was a new issue filed, however I couldn't find it. I did however find this older issue:
that appears to be related.
-- Brian
On Sat, Jul 30, 2011 at 11:32 AM, Romain BIARD <biard.romain@gmail.com> wrote:
Hi all,
I'm using valueProxies in order to give Criterias to a static method
"find" located in my ServerSide Entity.
Each ValueProxy had a setter and a getter.
But today I realized that only setter had to be used Client side so I
decided to remove all the getters on the Proxy but let them on
*.shared POJO which my proxy is a valueProxy for.
But It don't seems to work. The application is still compling but I'm
facing a RuntimeException:
Caused by: java.lang.IllegalArgumentException: searchKey
at
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.doCoderFor(AutoBeanCodexImpl.java:
524)
at
com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:
276)
I didn't understand why but I suppose that RequestFactory don't manage
any ValueProxies without getters AND setters declared.
Maybe it has to call getters when object are created Server Side ???
If it is true, maybe this implementation rule should be documented.
Anybody in this case ?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment