您好,我是 smartGwt 的新手,可以很好地使用 gwt。
现在想升级到 smartgwt,尝试许多教程,他们遵循相同的内容,但是当我尝试时,我遇到了错误。
我用过 GWT-2.6.0 , smartGWT-4.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 文件中的内容
最佳答案
您必须在没有脚本的情况下继承 SmartGwt:
<inherits name="com.smartgwt.SmartGwtNoScript"/>
然后不再需要将 xsiFrame.failIfScriptTag 设置为 false。
关于gwt - 实现 Smartgwt 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25014136/