Sunday, October 26, 2014

Re: Modify the property of an object via Deferred Binding

I think that you need to use a Generator. http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsDeferred.html#generator

On Saturday, October 25, 2014 1:03:34 AM UTC+2, jonl wrote:
I am using DeferredBinding to create the instance of an interface.  Now there is a property on the instance that is instantiated that I would like to change for every object created of that type via the GWT.create() call.  Is there a way in the <replace-with> settings to do this, without overriding the class?  Or is there a way to read a property defined in the .gwt.xml using the <set-property> tag at runtime?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment