Tuesday, October 4, 2016

Re: Not able to call handler defined using JSInterop

I tried using existing one only but it was not working, so again added explicitly and tried but both ways it is not working.

On Tuesday, 4 October 2016 16:02:38 UTC+5:30, GAURAV GUPTA wrote:
Yes I use generateJsInteropExports and getting GXT exported and able to add.

Thanks,
Gaurav

On Tuesday, 4 October 2016 15:41:44 UTC+5:30, Jens wrote:
Is TextButton a @JsType and exports addSelectHandler()? Do you use -generateJsInteropExports flag for SDM and compilation?

I guess your browser console should show errors if your code does not work. Also it looks like your TextButton is constructed with a handler as parameter and then you add the same handler again using addSelectHandler(), not sure if thats what you want.

-- 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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment