gwt - 实现 Smartgwt 的问题

标签 gwt smartgwt

您好,我是 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/";



在脚本标签中,但不起作用
enter image description here

以下是我包含在我的 xml 文件中的内容
enter image description here

最佳答案

您必须在没有脚本的情况下继承 SmartGwt:

<inherits name="com.smartgwt.SmartGwtNoScript"/> 

然后不再需要将 xsiFrame.failIfScriptTag 设置为 false。

关于gwt - 实现 Smartgwt 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25014136/

相关文章:

gwt - 在启用 https 的情况下运行 gwt?

session - Tomcat 7 上的 GWT 显示单个 session

gwt - 如何删除gwt列表框中的滚动条?

delphi - Delphi 应用程序的实时基于网络的客户端。如何?

javascript - 使用GWT JSNI与js文件集成

java - GWT 单元测试问题

java - 如何从非 GWT(但 Java)gapplication 在服务器上调用 GWT RPC 方法?

smartgwt - SmartClient还是SmartGWT?

java - SmartGWT 与 GWT?

css - smartgwt 按钮无法覆盖 skin_styles.css