IIRC is because scripts should be guaranteed to be loaded before the
onModuleLoad is run, and it was done with document.write before xsiframe

On Sun, Oct 19, 2014 at 12:12 AM, 'Goktug Gokdogan' via GWT Contributors <
[email protected]> wrote:

> Is there any fundamental reason why we don't support script tags for
> Cross-Site-IFrame?
>
> On Sat, Oct 18, 2014 at 2:54 PM, Jens <[email protected]> wrote:
>
>>    Invoking Linker Cross-Site-Iframe
>>>
>>>       [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:
>>>
>>> html2canvas.min.js
>>>
>>> jquery-1.11.1.min.js
>>>
>>> jquery-ui.min.js
>>>
>>> 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'/>
>>>
>>>
>>> And with the addition of that configuration property, the GWT
>>> compile/link now runs to completion:
>>>
>>
>> But keep in mind that setting the property to FALSE does only prevent the
>> compilation error. Your app probably won't work correctly now as it does
>> not have access to html2canvas.js and jquery.js. You need to follow the
>> suggesting in the error message to fix it (or use ClientBundle +
>> ScriptInjector instead)
>>
>> -- J.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/be421e07-460a-4453-96d4-5b9b154f4699%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/be421e07-460a-4453-96d4-5b9b154f4699%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3sDOEbt2iTmrbu_UwU_UN6jT3BYEuq-4kecsm8PGpbXw%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3sDOEbt2iTmrbu_UwU_UN6jT3BYEuq-4kecsm8PGpbXw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAuWa%3DDb7ZHswR9AtgNaxMA%2B-o0vqikBU0Z1oJTuvJ-C4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to