referenced by Brian below.
Currently you do need to have getters in order for AutoBean to know
the property exists.
Ryan
On Jul 30, 11:44 am, Brian Reilly <brian.irei...@gmail.com> wrote:
> 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:
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=5760
>
> that appears to be related.
>
> -- Brian
>
> On Sat, Jul 30, 2011 at 11:32 AM, Romain BIARD <biard.rom...@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(Au toBeanCodexImpl.java:
> > 524)
> > at
>
> > com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(Ab stractAutoBean.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