Saturday, July 30, 2011

ValueProxy Implementation Rule ?

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

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
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment