سؤال

I'm getting is neither a getter nor a setter when gwt is compiling my @JsonRpcProxy annotated ValueProxy interfaces.

I have those methods implemented with an Autobean Category but seems that RquestFactoryGenerator can't handle them:

[ERROR] [modules] The method public abstract client.beans.ExpenseFreeBase findExpenseFreeBaseAssignedForThisDate(java.util.Date date) is neither a getter nor a setter

Some help?

هل كانت مفيدة؟

المحلول

Yes, that simply is not supported: http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/user/src/com/google/web/bindery/requestfactory/gwt/rebind/model/RequestFactoryModel.java#329

Feel free to open a request-enhancement (as I couldn't find an existing one) at http://code.google.com/p/google-web-toolkit/issues/list and see how the GWT team feels about it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top