我正在使用Eclipse Luna,使用Google插件创建项目,并添加了SmartGwt LGPL 5.0创建的一些测试文件,但小部件根本不显示。尝试了谷歌搜索的所有解决方案,但没有解决任何问题。这里是gwt.xml文件代码
Random
Test.java类示例代码在这里:
Random random = new Random(555);
List<String> shuffled = shuffleList(new ArrayList<>(text), random);
random = new Random(555);
List<String> shuffled2 = shuffleList(new ArrayList<>(text), random);
...
Test.html文件代码在这里:
<module rename-to='test'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.smartgwt.SmartGwtNoScript'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<entry-point class='org.test.client.Test'/>
<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>
<!-- allow Super Dev Mode -->
</module>
答案 0 :(得分:1)
您是否尝试在主页中声明smartGWT文件:
<script src="assetservicing/sc/modules/ISC_Core.js"> </script>
<script src="assetservicing/sc/modules/ISC_Foundation.js"> </script>
<script src="assetservicing/sc/modules/ISC_Containers.js"> </script>
<script src="assetservicing/sc/modules/ISC_Grids.js"> </script>
<script src="assetservicing/sc/modules/ISC_Forms.js"> </script>
<script src="assetservicing/sc/modules/ISC_RichTextEditor.js"></script>
<script src="assetservicing/sc/modules/ISC_Calendar.js"> </script>
<script src="assetservicing/sc/modules/ISC_DataBinding.js"> </script>
<script src="assetservicing/sc/skins/Enterprise/load_skin.js"> </script>