你好我是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:
Run Code Online (Sandbox Code Playgroud)
我在下面的html文件中添加了所有相关脚本,首先我尝试了
var isomorphicDir ="testSmartGWT_01/sc /";
在脚本标签中,但不起作用

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

小智 1
您是否在主机页面(用于启动应用程序的 html)中添加了以下内容,如下所示(最好在“head”标签中,并将 [module-name] 替换为您的模块名称):
<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>
Run Code Online (Sandbox Code Playgroud)
检查这个: http: //forums.smartclient.com/showthread.php ?t=20246
| 归档时间: |
|
| 查看次数: |
4912 次 |
| 最近记录: |