Announcement

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

    SmartGwtEENoTheme in 3.0

    Am I doing something incorrectly? We have our inherits set up the same way for the 3.0 eval as we did for 2.5 but no matter what we try, we can't seem to prevent SmartGwt from loading, and in some cases, using, the Enterprise theme. We were previously using the Graphite theme.

    SmartGwtEE30Eval (downloaded 11/10/2011)

    #2
    The correct inherits to switch theme are the same in 3.0 - the same instructions in the QuickStart Guide. Whenever you change your .gwt.xml or drop in a new version, run a GWT compile, otherwise things can be stale.

    Comment


      #3
      Deleted the Enterprise folder inside of war/webApp/sc/skins folder.
      Ran Gwt Compile.

      The Enterprise folder and skin is re-added and included in the war.

      Here is my gwt.xml

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <!-- <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" 
          "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd"> -->
      <module rename-to="webApp">
      	<!-- Core GWT -->
      	<inherits name='com.google.gwt.user.User'/>
          <inherits name="com.google.gwt.core.Core"/>
          <inherits name="com.google.gwt.user.History"/>
          
          <!-- SmartGwt -->
          <inherits name="com.smartgwt.tools.SmartGwtTools"/>
          <inherits name="com.smartgwtee.SmartGwtEENoTheme"/>
          <inherits name="com.smartgwtee.tools.Tools"/>
          <inherits name="com.smartclient.theme.graphite.Graphite"/>
          <!-- <inherits name="com.smartclient.theme.treefrog.TreeFrog"/> -->
          
          <!-- SmartGwt Addon Modules -->
          <inherits name="com.smartgwt.Drawing"/>
          <inherits name="com.smartgwt.Analytics"/>
          <inherits name="com.smartgwt.RealtimeMessaging"/>
      
      	<!-- Start FusionCharts include files -->
          <inherits name="com.smartgwt.SmartGwtPluginBridges" />
      	<script src="sc/modules/ISC_PluginBridges.js"/>
      
          <!-- EntryPoint class implementing onModuleLoad() -->	
          <entry-point class="hidden.package.name.Welcome"/>
      </module>

      Comment


        #4
        The actual resources of the Enterprise skin can get copied in because it is the skin used by some tools. However this set of includes will not result in Enterprise being loaded when you just launch your app. You can see with Firebug (or any similar tool) that the only load_skin.js file being loaded is from Graphite.

        Comment

        Working...
        X