Announcement

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

    IE: Page disappears on rollover (hover)

    Everything displays fine in Firefox 3.6.13 and Chrome 8. However, in IE7, everything displays fine until I hover (rollover) a button or something that has a rollover state. The whole page disappears (turns white) after that. I see in the log that the rollover image gets download but nothing else.

    Things I've tried but didn't work:
    * Recompiled
    * Deployed on GWT tomcat server and Weblogic
    * Cleared my browser settings and cache
    * Remove GWT Development Plug-in
    * GWT hosted/development mode and non-hosted mode
    * Developer console set to debug didn't show anything either
    * Different versions of SmartGWT: 2.3-2010-9-28 and 2.4-2010-12-21

    I'm running out of things to try. Any other pointers?

    #2
    See the FAQ on DocType and if that doesn't help post a minimal standalone testcase. It does not happen in the showcase and others haven't reported this kind of behavior.

    Comment


      #3
      Thanks for the pointers. However, we couldn't find anything that helped this issue. We've narrowed it down to buttons in a toolstrip and tab headers though.

      After searching, I found out it might be similar to this problem:
      http://forums.smartclient.com/showthread.php?p=51856

      The solution to this problem was to call Canvas.draw() on the toolstrip. I tried this and the toolstrip appears at the top of the page.

      We have been using Layout.setMembers(toolstrip, ... ) to set the location of the toolstrip. How would we place the toolstrip inside another Canvas using Canvas.draw()?

      Comment


        #4
        In general, call draw() to draw the entire widget hierarchy (just once, on the top-level component). Do not use RootPanel.add() to add widgets.

        Make sure you've read the QuickStart Guide front to back - this is in there.

        Comment


          #5
          I just posted to the other thread and it was exactly what you mention. I believe the RootPanel.add() was a relic of starting with Google's tutorial on GWT instead of SmartGWT's QuickStart Guide. Thanks!

          Comment

          Working...
          X