Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Configuring correct ISC files in GWT App

    Hi All,

    What is the recommended approach for including SmartGWT in an application? I'm using the following in my hosted JSP page. However, I used FireBug and checked the files loaded. I noticed additional ISC files are being loaded even though are not listed below. For example, I'm not including ISC_DataBinding.js but it is still downloaded according to FireBug.



    Our hosted GWT page
    ===================
    <script> var isomorphicDir="brokerapp/sc/"; </script>

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

    <script src='brokerapp/sc/modules/ISC_Foundation.js'></script>
    <script src='brokerapp/sc/modules/ISC_Containers.js'></script>
    <script src='brokerapp/sc/modules/ISC_Grids.js'></script>
    <script src='brokerapp/sc/modules/ISC_Forms.js'></script>
    <script src='brokerapp/sc/modules/ISC_Calendar.js'></script>

    <script src='brokerapp/sc/skins/EnterpriseBlue/load_skin.js'></script>

    <!-- load GWT app -->
    <script type="text/javascript" language="javascript" src="brokerapp/brokerapp.nocache.js" ></script>


    Our GWT Module XML page
    =======================
    <module rename-to='brokerapp'>
    <inherits name='com.google.gwt.user.User'/>

    <inherits name='com.google.gwt.user.theme.clean.Clean'/>

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

    <inherits

    name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"

    />

    <entry-point class='org.demo.brokerapp'/>
    </module>

    #2
    If you are going to manually include <script src> tags, inherit the NoScript versions of the SmartGWT modules.

    Comment

    Working...
    X