I have the same error when running the code server and this limitation 
effectively prevents me from using superdevmode, as in my case the problem 
is with an external library that I include which then uses the <script> tag 
in its own module xml.
Also not being able to use <script> in the module xml breaks encapsulation 
of modules, as I know have to include *all* scripts from *all* libraries in 
*my* host page (for me that's implementation details that I don't care 
about) . I know superdevmode is still experimental and seriously hope that 
this will be fixed. In the meantime does anyone have an idea how to work 
around this? Besides manually patching a 3rd party library...

cheers,
Mike


On Monday, July 23, 2012 4:33:01 PM UTC+2, Daniel wrote:
>
> Hi,
> can someone please explain to me the technical details why the xsiframe 
> Link can not compile GWT apps which load <script> tags in their .gwt.xml 
> module?
> It gives the following error:
> [ERROR] The Cross-Site-Iframe linker does not support <script> tags in the 
> gwt.xml files, but the gwt.xml file (or the gwt.xml files which it 
> includes) contains the following script tags: 
> .....
> In order for your application to run correctly, you will need to include 
> these tags in your host page directly. In order to avoid this error, you 
> will need to remove the script tags from the gwt.xml file, or add this 
> property to the gwt.xml file: <set-configuration-property 
> name='xsiframe.failIfScriptTag' value='FALSE'/>
>
> The error message already tells the workaround, so I know how to compile 
> it. Still, I'm wondering about the reason why it can't compile with 
> <script> tags? I understand the same origin policy problem with the regular 
> Iframe Linker and XHR. But including a script tag doesn't require XHR. So 
> whats the technical reason behind this?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/y_V5cTvKRJMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to