Announcement

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

    After upgrading to v2.2 smartgwt looks for skin files in wrong dir and can't find it

    When I used smartgwt 2.1, there were no any warnings in console. But after I've upgraded it to 2.2 and run it from eclipse(in GWT development mode), I've got these two warnings in console:
    Code:
    [WARN] 404 - GET /images/Menu/menu_rollover.png (127.0.0.1) 1415 bytes
       Request headers
          Accept: */*
          Accept-Language: ru-RU
          User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
          Accept-Encoding: gzip, deflate
          Host: 127.0.0.1:8888
          Connection: Keep-Alive
          Referer: http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997
       Response headers
          Content-Type: text/html; charset=iso-8859-1
          Content-Length: 1415
    [WARN] 404 - GET /images/ListGrid/row_Over.png (127.0.0.1) 1414 bytes
       Request headers
          Accept: */*
          Referer: http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997
          Accept-Language: ru-RU
          User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
          Accept-Encoding: gzip, deflate
          Host: 127.0.0.1:8888
          Connection: Keep-Alive
       Response headers
          Content-Type: text/html; charset=iso-8859-1
          Content-Length: 1414
    I've found that the missing files are actually situated here:
    \MyApp\war\paneldesigner\sc\skins\Enterprise\images\Menu\menu_rollover.png
    and here:
    \MyApp\war\paneldesigner\sc\skins\Enterprise\images\ListGrid\row_Over.png

    Yes, I do use widgets "com.smartgwt.client.widgets.menu.Menu" and "com.smartgwt.client.widgets.grid.ListGrid" in my app, but I changed no code when upgraded smartgwt version. Where did these warnings come from?

    Thanks in advance.

    P.S.: I'm using smartwgt 2.2, GWT SDK 2.0.3 with Eclipse 3.5 SR1 and jdk 1.6.0 u18 from Windows 7 Enterprise x64 and Mozilla Firefox 3.5.9 as browser.

    #2
    Same happened to my, I'm developing a new app using the latest smartgwt 2.2 jars.

    I found that in ISC_Core.js there is reference to "standard" dir instead it should be "Enterprise".

    Manually editing the same from "standard" to "Enterprise" the application was able to load images properly.

    Comment

    Working...
    X