GWT calling java from JS doesn't work with Iframe

2012-07-15 Thread Ahmed Saad
Hi All I have a problem that I can java from javascript normally in GWT application but when I run it in Iframe it doesn't work here is the work that works fine if I run from browser window but doesnt work in Iframe the html file input type=button onclick=doIT() value=Do class=fbbotton

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

2012-07-15 Thread Joseph Lust
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