Hello there,
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
try to add this meta tag in your html head, it did fix the popup panel's CSS
issues that i used to have when using GWT 1.7 and IE8

Hope it helps.

regards,
Rudolf Michael

On Mon, Mar 1, 2010 at 1:20 PM, Thoka <thobias.karls...@gmail.com> wrote:

> Hi,
>
> I'm getting the same problem. I have a list (dynamic item list) that
> is wrapped inside of a ScrollPanel. When first displaying the list it
> looks fine (like it did on 1.5-1.7) but when I change ANYTHING in any
> of the surrounding widgets, e.g. changing text in a label or adding an
> extra stylename to a panel or even hovering a button that listens to
> mouse events, the list disappears.
>
> This happens in IE only, including IE8. I've checked the style
> attributes before and after, and I can't find any differences. I've
> tried to change the doctype but it does not help.
>
> Does anybody have a clue about what could be wrong? ScollPanel worked
> like a charm in earlier versions!
>
> On 28 Feb, 13:10, Chris Lercher <cl_for_mail...@gmx.net> wrote:
> > Hi Tapas,
> >
> > here's a table explaining the connection between doctype and strict
> > mode/quirks mode:http://hsivonen.iki.fi/doctype/
> >
> > You're using XHTML - I don't know how well this works with GWT, I
> > think I've read about some problems with that here on the forum. The
> > default doctype for GWT 2.0 projects (as created by WebAppCreator or
> > the Eclipse plugin) is simply <!DOCTYPE html>, which uses HTML in
> > standards mode - but I don't think it will change much in your case.
> >
> > I've quickly tried your setup. I'm using
> >
> > public void onModuleLoad() {
> >        ScrollPanel scrollPanel = new ScrollPanel(new Label("test"));
> >        RootPanel.get("pageContainer").add(scrollPanel);
> >
> > }
> >
> > And it works fine on IE8 (and other browsers). Can you try this? If
> > the Label shows up, the problem is probably somewhere else.
> >
> > Chris
> >
> > On Feb 28, 12:11 pm, Tapas Adhikary <tapas4...@gmail.com> wrote:
> >
> >
> >
> > > Chris ,
> > > Thanks a lot for the suggestion that we should not attempt to remove
> the
> > > style attribute for IE8 . I will keep the suggestion in mind. I didn't
> get
> > > the first part of your reply.
> >
> > > >I know the blank page phenomenon only from the following
> > > >constellation:
> > > >Quirks mode + RootLayoutPanel + IE
> >
> > > What do you mean  by , Quirks mode ? I am using RootPanel. I have a Jsp
> > > page( which is the first page to render) which has <!DOCTYPE html
> PUBLIC
> > > "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> added in the
> beginning.
> > > This jsp has a div , say ,
> > > <body>
> > >     <div id="pageContainer">
> > >  </div>
> >
> > > From GWT Entry point , I add the widget as ,
> > > RootPanel.get("pageContainer").add(component);
> >
> > > What is missing here ?
> >
> > > Thanks,
> > > -Tapas
> > > On Sat, Feb 27, 2010 at 4:38 PM, Chris Lercher <cl_for_mail...@gmx.net
> >wrote:
> >
> > > > Hi,
> >
> > > > I know the blank page phenomenon only from the following
> > > > constellation:
> > > > Quirks mode + RootLayoutPanel + IE
> >
> > > > So either use standards mode (<!DOCTYPE html>), or use RootPanel.
> >
> > > > BTW (independently from GWT), "zoom:1" helps IE<8 to assign
> > > > "hasLayout" to elements which usually don't. This is especially
> needed
> > > > in conjunction with "position:relative", which itself fixes some
> > > > severe IE<8 layout problems. See
> > > >http://www.satzansatz.de/cssd/onhavinglayout.html
> >
> > > > I don't know, if it would be possible to generate a version of this
> > > > for IE8 in standards mode - but I don't think that GWT knows, if
> we're
> > > > in standards mode or not (it would have to read the HTML file, and
> use
> > > > the browser's complex heuristics to determine, if we really are).
> >
> > > > In any case, I don't think you should attempt to remove the style
> > > > value!
> >
> > > > Chris
> >
> > > > On Feb 27, 7:53 am, Tapas Adhikary <tapas4...@gmail.com> wrote:
> > > > > I was using GWT 1.7 in My Application. One of my page is using
> > > > ScrollPanel.
> > > > > Since I upgraded to GWT 2.0 , I am getting a blank screen where
> > > > scrollPanel
> > > > > is used. Using the F12 DOM debugging I found , GWT 2.0 includes
> with an
> > > > > extra child DIV for Scroll Panel. And the DIV has a style of
> > > > > position:relative and Zoom:1. This DIV is not there  if I use GWT
> 1.6. If
> > > > I
> > > > > remove the style of the extra DIV from debug window , I am able to
> see
> > > > the
> > > > > page rendering.
> >
> > > > > I have tried to do the following from GWT java class,
> >
> > > > > right.getElement().getFirstChildElement().setAttribute("style",
> ""); //
> > > > > where right is the Scroll Panel
> >
> > > > > But this is not working in IE8 . it works good for Mozilla Firefox
> and
> > > > > Chrome browser.
> >
> > > > > Any help , what I should do to remove the style programmatically
> for IE8
> > > > ?
> > > > > Or is there any other way to deal with that ?
> >
> > > > > Thanks,
> > > > > -Tapas
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to
> google-web-tool...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to