gpt4 book ai didi

gwt - 实现 Smartgwt 的问题

转载 作者:行者123 更新时间:2023-12-04 15:22:25 24 4
gpt4 key购买 nike

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

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com