Monday, June 17, 2019

Re: JSNI - access inner class attribute from external JS?

Your setValue() method must be static if you want to call it that way. If it must be an instance method you need to write barInstance.@pkg.Foo.Bar::method (don't forget the dot after instance variable)

-- 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/bae25e5c-caf9-4c6e-afcc-d7b208b12584%40googlegroups.com.

No comments:

Post a Comment