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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.