Announcement

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

    NoTheme causes Tools to loose styles

    v8.2p_2012-08-20/Pro Deployment (built 2012-08-20)

    Code:
    <module rename-to="builtinds">
        <inherits name='com.google.gwt.user.User'/>
        <inherits name="com.smartgwt.tools.SmartGwtTools"/>
        [b]<inherits name="com.smartgwtpro.SmartGwtProNoTheme"/>
        <inherits name="com.smartclient.theme.graphite.Graphite"/>[/b]
        <inherits name="com.smartgwtpro.tools.Tools"/>
        <entry-point class='com.smartgwt.sample.client.BuiltInDS'/>
    </module>
    Admin Console and Developer Console loose styles and images completely. With <inherits name="com.smartgwtpro.SmartGwtPro"/> and no Graphite it works fine.

    Probably that's becase adminConsole.jsp contains

    Code:
    <isomorphic:loadISC modulesDir="system/development/" 
                                          includeModules="DBConsole,Tools" 
                                          [b]skin="Enterprise"[/b]/>
    It results in

    Code:
    <SCRIPT SRC=../../builtinds/sc/skins/Enterprise/load_skin.js?isc_version=v8.2p_2012-08-20.js></SCRIPT>
    while the valid link is

    Code:
    <SCRIPT SRC=../../builtinds/sc/skins/Graphite/load_skin.js?isc_version=v8.2p_2012-08-20.js></SCRIPT>
    Is there a way to fix this issue without changing smartgwtpro.jar?

    Thx.
    Last edited by vostapenko; 26 Aug 2012, 13:11.

    #2
    You should be able to resolve this by explicitly inheriting the EnterpriseResources module before the Tools module:
    Code:
    <inherits name="com.smartclient.theme.enterprise.EnterpriseResources"/>
    Let us know if this doesn't solve the issue for you

    Regards
    Isomorphic Software

    ---
    Update: We've now modified the Tools module to include this automatically so this explicit include will no longer be required in future nightly builds (3.1d branch)
    Last edited by Isomorphic; 27 Aug 2012, 09:27.

    Comment

    Working...
    X