SmartGwt中的host编译模式

html中添加<script> var isomorphicDir = "../sc/"; </script>

<script src='../sc/modules/ISC_Core.js'></script>

<script src='../sc/modules/ISC_Foundation.js'></script>

<script src='../sc/modules/ISC_Containers.js'></script>

<script src='../sc/modules/ISC_Grids.js'></script>

<script src='../sc/modules/ISC_Forms.js'></script>

<script src='../sc/modules/ISC_RichTextEditor.js'></script>

<script src='../sc/modules/ISC_Calendar.js'></script>

<script src='../sc/modules/ISC_DataBinding.js'></script>

<script src=../sc/skins/EnterpriseBlue/load_skin.js?isc_version=7.1.js></script>

    <script type="text/javascript" language="javascript" src="com_jiuqi_testimage/com_jiuqi_testimage.nocache.js"></script>

 

xml中添加  <inherits name='com.smartgwt.SmartGwtNoSmartClient'></inherits>

就ok了,以后就不用编译就可以直接启动了。省去了那么多编译的时间。

你可能感兴趣的:(JavaScript,html,xml)