Announcement

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

    IE8+ and Firefox layout discrepancy

    Hi,

    we found a problem in layout in IE8+. I use smartGWT 2011-06-13.

    There are a strange icons with a red cross over a TextItem in IE in compatibility mode and IE normal mode. See screenshots attached.

    In IE8+ in romal mode there is a dynamic form displayed incorrectly as well.

    Tested also in Firefox 4 where the layout is ok.

    Cheers,
    Martin Zdarsky
    Attached Files

    #2
    That's how IE shows a missing image, something is wrong with your skin <inherits>, isomorphicDir setting, or you may need to run a GWT compile. You can also use IE's Developer Tools to troubleshoot where the browser is attempting to load skins from.

    Comment


      #3
      Hi,

      you are right, it tries to load a picture from
      http://127.0.0.1:8888/smartrise/sc/skins/standard/images/blank.gif
      but the picture is present only in
      http://127.0.0.1:8888/smartrise/sc/skins/Enterprise/images/blank.gif

      I don't use any customized skins, didn't even tried.

      my html file contains
      Code:
          <script>
            var isomorphicDir = "smartrise/sc/";
          </script>
      my gwt.xml is

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <module rename-to='smartrise'>
        <!-- Inherit the core Web Toolkit stuff.                        -->
      
        <inherits name='com.google.gwt.user.User'/>
      
        <inherits name="com.smartgwt.Drawing"/>
        <inherits name="com.smartgwt.Analytics"/>
        
        <inherits name="com.smartgwtee.tools.Tools"/>
        <inherits name="com.smartgwtee.SmartGwtEE"/>
      
        <inherits name='com.aurorarnd.gfcharts.GFChartsSmart'/>
        <inherits name="com.smartgwt.SmartGwtPluginBridges"></inherits>
        <!--
          
      
        <set-property name="user.agent" value="gecko1_8"/>
       -->
        <!-- Specify the app entry point class.                         -->
        <entry-point class='cz.bcom.smartrise.client.SmartRISE'/>
      
        <!-- Specify the paths for translatable code                    -->
        <source path='client'/>
        <source path='shared'/>
      
      </module>

      Comment


        #4
        It's not clear what's introducing that problem and could be something with gfcharts. Try reordering your <inherits> such that SmartGWTEE is first.

        Comment


          #5
          this problem persist even if I leave there only 2 imports.
          Code:
            <inherits name="com.smartgwtee.SmartGwtEE"/>
            <inherits name='com.google.gwt.user.User'/>
          Cheers,
          Zdary

          Comment


            #6
            Since it's obviously working fine for everyone else, not sure what we can do with this information. You may need to run a GWT compile or clear your browser cache, or even restart your browser or IDE.

            Comment

            Working...
            X