Announcement

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

    problem with path to skin_styles.css

    Good day!

    I use GWT version 2.0.3 with portlet JSR 168 он IBM WebSphere 6.1.
    With GWT 2.0.3 only it works fine, but with Smart GWT 2.2 I found problem - wrong path to /sc/skins/Enterprise/skin_styles.css.

    In firebug I saw:
    Code:
    <script language="javascript" src="/.bonuses/application/application.nocache.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Core.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Foundation.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Containers.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Grids.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Forms.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_RichTextEditor.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_Calendar.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/modules/ISC_DataBinding.js"></script><script language="javascript" src="http://localhost:9080/.bonuses/application/sc/skins/Enterprise/load_skin.js"></script><link rel="stylesheet" type="text/css" href="http://localhost:9080/.bonuses/bonuses/application/sc/skins/Enterprise/skin_styles.css"><script
    Why http://localhost:9080/.bonuses/bonuses/application/sc/skins/Enterprise/skin_styles.css? I must be http://localhost:9080/.bonuses/application/sc/skins/Enterprise/skin_styles.css!

    Why SmartGWT search skin_styles.css in the wrong path? Can I customize it, or it is bug?

    I have host page

    Code:
    <HTML>
    <HEAD><TITLE>
    Test
    </TITLE></HEAD>
    <BODY>
    <script language='javascript' src='/.bonuses/application/application.nocache.js'></script>
    
    </BODY></HTML>
    I try change it to

    Code:
    <HTML>
    <HEAD><TITLE>
    Test
    </TITLE></HEAD>
    <BODY>
    <script type="text/javascript"> var isomorphicDir = "application/sc/"; /script>
    <script language='javascript' src='/.bonuses/application/application.nocache.js'></script>
    
    </BODY></HTML>
    but nothing happen.

    Can anybody help me?
    Attached Files

    #2
    What is your actual path to skin_styles.css? What does your .gwt.xml file look like? Did you include <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/>? or does your html file load the skin?
    Code:
    <script> var isomorphicDir = "MySandbox/sc/"; </script>
    ...
    <script type="text/javascript" language="javascript" src="MySandbox/MySandbox.nocache.js"></script>

    Comment

    Working...
    X