Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin 7 - Script tag in GWT module
I have been using ProtovisGWT (http://code.google.com/p/choosel/wiki/ProtovisGWT) module in vaadin 6.
I wanted to try it with Vaadin 7 alpha 3 unfortunately I am not able to compile the widgetset.
Reason being my GWT module (Protovis.gwt.xml) file has a script tag in it. (Which includes the of Protovis js file).
Am I missing something or Vaadin 7 doesn't allow the scripts tags even in the GWT modules ??
Linking into WebContent\VAADIN\widgetsets 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: js/protovis-3.2-PATCHED/protovis-d3.2-PATCHED-COMPRESSED.js
Any information will be appreciated.
This is really bad news for me. I have to re-write lot of my visualizations (Vaadin 6) which use GWT modules.
Any workaround for this problem (of course other than rewriting the entire thing) ??
Any suggestions will be really helpful and greatly appreciated !!
If the script annotations are used in third party libraries you are using, you might need to edit the GWT module files in their JARs.
Or another approach: you could try for now to replace the "xsilinker" in DefaultWidgetSet with the old "xs" linker which does support <script> tags.
It may or may not work with Vaadin 7 and at least SuperDevMode will not work with it, but maybe worth a try.
Thanks for filing this ticket.
Sorry, newbie here. New to Vaadin 7 AND to GWT. I would like to use raphael4gwt in a custom component I am writing for use in Vaadin application. I posted the following on the raphael4gwt forum, but maybe you folks are more suited to spell out more precisely where I go to get the missing .js files and where more precisely I should put them in my Eclipse foodchain for testing/use in my component.
Sorry I am new to GWT and Vaadin 7, so hopefully this will be an easy question. I am trying to make a custom Vaadin widget using raphael4gwt. When I go to compile the widget in Eclipse using Vaadin's widget compiler, I get an 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.
The only thing I have in the .gwt.xml file relating to raphaelgwt is this:
<inherits name="org.sgx.raphael4gwt.Raphael4Gwt" />
I presume I have to put them someplace that makes both raphael4gwt widget and Vaadin happy.
Thanks VERY much in advance for help. I'd hate to have to abandon all the great functionality of raphael and raphael4gwt and write it all from scratch. That would be a VERY big job indeed.
Sorry, I should've posted my earlier reply to you instead of Deepak. Can you help me?
This parameter allows using script tags in module file when using xsiframe.
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>