Announcement

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

    how to added new themes in SmartGWT

    i want to add new themes like treefrog, silverWave to my gwt Project.
    in which file i need to change to reflect the changes??

    load_skins.js file shud be changed?

    on module load i am changing the themes by reading cookies form the browser?
    but its not working..
    please tell me the solution.

    #2
    You may have to include this in your module.gwt.xml file also make sure that these skins are available in your project directory.
    <inherits name='com.google.gwt.user.User' />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.History" />
    <inherits name="com.google.gwt.i18n.I18N" />
    <inherits name="com.smartgwt.SmartGwtNoScript" />
    <inherits name='com.smartclient.theme.enterprise.EnterpriseResources'/>
    <!-- <inherits name="com.smartclient.theme.silverwave.SilverWaveResources"/> -->
    <!-- <inherits name="com.smartclient.theme.treefrog.TreeFrog"/> -->
    <inherits name="com.google.gwt.http.HTTP" />

    Comment


      #3
      sanjeev,

      could you pls be more specific:
      - where exactlly do they have to go in the project directory?
      - which files do I need to ensure a new skin is added to the war file at the correct path?

      Comment

      Working...
      X