Hi
-- Not sure if I have come to the right place.. but here I go :
I want to embed a GWT into a Google Document. For a normal jquery webpage everything works fine, but when I embed even the smallest GWT app, it does not show up.
Now running a webapp in a Google Document, the javascript and HTML is CAJA-sanitized, I understand from what I read here : https://developers.google.com/apps-script/guides/html/restrictions.
Then there is a SANDBOX mode you can set to NATIVE or EMULATED. I tried both.
You can use the setSandboxMode() method to choose between two versions of Caja: NATIVE mode imposes fewer restrictions than EMULATED mode and generally runs faster. By contrast, EMULATED mode is more likely to work in older browsers that do not support ECMAScript 5 strict mode, most notably Internet Explorer 9. (Very old browsers, including Internet Explorer 8 and below, are usually incompatible with the HTML service.)
Anyway, nothing shows up, and from the logs below, I think this is because the initial startup action
RootPanel rootPanel = RootPanel.get("myApp");
fails to execute due to not safe :
Object [object Object] has no method 'replace'
It would be great if I could reuse part of my application widgets for embedding into the sidebar ....
Can anybody shed some light ??
thx
Koen
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment