Wednesday, August 27, 2014

Re: How to override the deferred binding configuration of a inherit gwt module

As far as I know this should work if you make sure your own <replace-with> occurs after the <inherits name="A"/> tag. 

I think you also have to take care if you inherit A again indirectly after you have redefined A1Impl to B1Impl. For example the following might not work as expected:

inherits A -> declares replace-with A1Impl
inherits B -> contains override for replace-with A1Impl which will replace it to B1Impl
inherits C -> inherits A

It could be that inheriting C resets your replace-with rule with the original one of A.

-- J.

--
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