You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm interested in the Network graph, I took these GWT examples:
NetworkDemo1_basic_usage.zip
NetworkDemo2_images.zip
NetworkDemo3_packages.zip
NetworkDemo4_offline.zip
and tried to run them but faced issues. while running these projects I'm getting:
Linking modules
Bootstrap link for command-line module 'com.chap.links.NetworkDemo1_basic_usage'
Linking module 'networkdemo1_basic_usage'
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:
network-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:
[ERROR] shell failed in doSlowStartup method
Module setup completed in 3221 ms
So I added the following to my gwt.xml: <add-linker name="xsiframe" /> <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE' />
So now the error is ignored and server is up, but when loading the page getting:
The code server is ready at http://127.0.0.1:9876/
Code server started in 2966 ms
waited 0 ms for code server to finish
GET /recompile/networkdemo1_basic_usage
Job com.chap.links.NetworkDemo1_basic_usage_1_0
starting job: com.chap.links.NetworkDemo1_basic_usage_1_0
binding: user.agent=safari
Compiling module com.chap.links.NetworkDemo1_basic_usage
Unification traversed 11202 fields and methods and 925 types. 903 are considered part of the current module and 903 had all of their fields and methods traversed.
Compiling 1 permutation
Compiling permutation 0...
Linking per-type JS with 887 new types.
prelink JS size = 1643064
prelink sourcemap = 1643064 bytes and 50378 lines
postlink JS size = 1624485
postlink sourcemap = 1624485 bytes and 49850 lines
Source Maps Enabled
Compile of permutations succeeded
Compilation succeeded -- 4.201s
Linking into C:\Users\zbeedat\AppData\Local\Temp\gwt-codeserver-3501716676999786765.tmp\com.chap.links.NetworkDemo1_basic_usage\compile-2\war\networkdemo1_basic_usage; Writing extras to C:\Users\zbeedat\AppData\Local\Temp\gwt-codeserver-3501716676999786765.tmp\com.chap.links.NetworkDemo1_basic_usage\compile-2\extras\networkdemo1_basic_usage
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
network-min.js
From searching in the internet I understood that the <script> elements in gwt.xml files are ignored with the xsiframe linker; and I have to put <script> elements in your HTML host page instead.
So I took your javascript demos (http://almende.github.io/chap-links-library/network.html) and it works fine.
My question is, if there is a way to make it work from GWT as well? How can I overcome this issue?
B.R.
The text was updated successfully, but these errors were encountered:
Hi,
I'm interested in the Network graph, I took these GWT examples:
NetworkDemo1_basic_usage.zip
NetworkDemo2_images.zip
NetworkDemo3_packages.zip
NetworkDemo4_offline.zip
and tried to run them but faced issues. while running these projects I'm getting:
So I added the following to my gwt.xml:
<add-linker name="xsiframe" /> <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE' />
So now the error is ignored and server is up, but when loading the page getting:
From searching in the internet I understood that the <script> elements in gwt.xml files are ignored with the xsiframe linker; and I have to put <script> elements in your HTML host page instead.
So I took your javascript demos (http://almende.github.io/chap-links-library/network.html) and it works fine.
My question is, if there is a way to make it work from GWT as well? How can I overcome this issue?
B.R.
The text was updated successfully, but these errors were encountered: