Re: GWT calling java from JS doesn't work with Iframe

33 views
Skip to first unread message

Joseph Lust

unread,
Jul 15, 2012, 12:00:30 PM7/15/12
to google-we...@googlegroups.com
One way this error can also be caused is that you did not publish that public method before you called it. You need to ensure you've got a JSNI method (like the one you posted) that is run onModuleLoad to add your public JS functions to the window's namespace. 

Of course you can use GWT to set the listener on the input element and skip the JSNI bit if you like. 

Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages