mgwt and gwt-polymer-elements

Skip to first unread message

Andy Stevko

Mar 28, 2016, 7:20:23 PM3/28/16
to mgwt
I'm interested in transitioning my mgwt app to using vaadin's gwt-polymer-elements library.
Am I crazy? Has anyone been successful in using both?
--Andy Stevko

Wayne Dyck

Mar 30, 2016, 9:35:28 AM3/30/16
to mgwt

I've played around with it a bit, however, the biggest challenge I found is how gwt-polymer-elements is handling some of the "magic" behind the scenes. Much of the code and logic I would normally put into my gwt/mgwt code is done automatically by polymer.

Have you looked at the gwt-polymer todo sample app?


Andy Stevko

Mar 31, 2016, 1:13:36 PM3/31/16
to mgwt
Thanks for the response Wayne. 
Is the 'magic' you refer to within the data binding?

I've started with the todolist sample and only managed to make it work by upgrading from 2.7 to 2.8-beta1 to 2.8 SNAPSHOT.

The frustrations that triggered my earlier posting are all around getting polymer to initialize properly. For whatever reasons I kept getting undefined Base errors when calling Base.importHref(href, ok, err);  within Polymer.importHref(). I believe it is an incompatibility with gin initializing my view objects before the polymer has properly initialized.

The gwt 2.8 SNAPSHOT build has forced me to upgrade to Java 1.8. I've found that I've run into a violation triggered by the google gin code generator. 
The stack trace is posted on the google-gin group but I don't expect any love there...
So, I'm faced with upgrading from gin to dagger. 
Reply all
Reply to author
0 new messages