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>
> .
> 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