Tuesday, May 12, 2020

Re: JsInterop - fail to iterate @JsType in List


Other ideas?

Maybe because you have used a ES6 / ECMAScript2015 class in your custom JS instead of a traditional function() based JS class. For example web components also use ES6 classes and it is not straight forward to use them with JsInterop / GWT.

I would start SDM / Compiler with -style PRETTY and look at / debug the JS to see why a cast exception occurs or try define the class without using ES6.

-- J.


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4a503353-16a0-4795-8dd4-9ea2fa14c19a%40googlegroups.com.

No comments:

Post a Comment