I don't see why you would need this. Whenever you use RootPanel is
adds it directly to the document body. I suggest using firebug to
debug this problem and check out the html directly. Make sure you or
one of your inherited modules is not calling
Window.enableScrolling(false);.
good timing, we just went thru the same headache a couple of days ago
as we are using GWT to build our admin website.
the problem that you are facing is that by default the RootPanel and
the RootLayoutPanel will wrap everything you put on with a couple of
divs that will intentionally remove any
Posts are live, actually we wrote two of them: one where we show a
couple of ways to create a basic layout (including the scrollable one)
and one were we only focus on the the scroll experience as we think is
the one that always gets lost in the crow.
Links to the post are as follow:
Hi,
I'd like to make a VerticalPanel which increases the overall height of
the document body, and let the main browser scrollbar scroll it.
Something like:
body
myVerticalPanel
... will add a bunch of stuff here
/myVerticalPanel
/body
I'm doing this like: