你好,我是smartGwt的新手,和gwt一起工作。现在想升级到smartgwt,尝试许多教程,他们遵循相同的事情,但当我尝试时,我遇到了错误。
我使用过GWT2.6.0,SmartGWT4.0.
当我试图将<inherits name='com.smartgwt.SmartGwt'/>添加到xml文件时,它会显示错误。
[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: 我在下面的html文件中添加了所有相关脚本,首先我尝试了
var isomorphicDir = "testSmartGWT_01/sc/";
在脚本标记中,但不起作用

下面是我在xml文件中包含的内容

发布于 2015-06-11 11:34:40
您必须在没有脚本的情况下继承SmartGwt:
<inherits name="com.smartgwt.SmartGwtNoScript"/> 那么,将xsiFrame.failIfScriptTag设置为false不再是必要的。
发布于 2014-07-30 05:09:01
您是否在您的主页(用于启动应用程序的html)中添加了如下内容(最好在“head”标记中使用“head”标记,并将模块名替换为模块名):
<script src=[module-name]/sc/modules/ISC_Core.js></script>
<script src=[module-name]/sc/modules/ISC_Foundation.js></script>
<script src=[module-name]/sc/modules/ISC_Containers.js></script>
<script src=[module-name]/sc/modules/ISC_Grids.js></script>
<script src=[module-name]/sc/modules/ISC_Forms.js></script>
<script src=[module-name]/sc/modules/ISC_RichTextEditor.js></script>
<script src=[module-name]/sc/modules/ISC_Calendar.js></script>
<script src=[module-name]/sc/modules/ISC_DataBinding.js></script>检查这个:http://forums.smartclient.com/showthread.php?t=20246
发布于 2014-07-31 09:00:58
当创建基本的GWT新Web应用程序项目时,我遇到了这个问题
<!-- allow Super Dev Mode --> <add-linker name="xsiframe"/> </module>
创建问题,只需删除此代码,就可以正确运行它。
https://stackoverflow.com/questions/25014136
复制相似问题