Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Generated GWT Widgets are not IsEditor #57
In GWT we have only the Editor framework which does a correct databinding between POJOs and Widgets.
I've tried with no success Errai Databinding, to simplistic for a complex interface.
Unfortunately generated widgets are Panels, and as such they don't implement IsEditor interface, which is what the Editor framework uses for integration between generated Autobeans and Wdgets.
I would like the generator to change how it works so that we obtain Widgets compatible with it.
In case I can contribute, but I need to know if you have any suggestions for this.
What do you guys suggest for implementing IsEditor? not all polymer widgets are thought for storing values, and some of them could store more than a value.
Hi Manolo, I think that we can't really understand if a web-component is also an Editor and which kind of Editor.
May be the best way is a command-line switch where, during the generation phase, we can set the kind of Editor, may be an "IsEditor<ValueBoxEditor>" or a ListEditorWrapper.
What do you think ?