Java – is GWT uibinder inherited?
My model has a base class for crud forms In the template of this class, I have a save button
In the extension class, I have many fields relative to a specific model, but not the Save button
Every time I call createAndBindUi in the sub model, an error is thrown, which means I have not saved the button.
Who knows how to do this correctly? Solutions can be published
Solution
If you need to use uibinder in superclasses and subclasses, you have a design problem Using composition instead of inheritance will also solve your uibinder problem
Although there are hacking / workarounds, our idea is never to use the same object as the theme of the two uibinder templates
There are a lot of discussions on uibinder and inheritance on the GWT Forum (although not so much): https://groups.google.com/d/searchin/google-web-toolkit/uibinder%20inheritance