Wednesday, May 25, 2011

Dock Layout Panel

Good Evening,

I am trying to design an app using DockLayoutPanel (using the example
here:http://code.google.com/webtoolkit/doc/latest/
DevGuideUiPanels.html
) and I can't seem to get the panel to work.
When I run this code in the development server all I get in the
browser is a blank page with "header" in the upper left. Both IE and
Chrome display the exact same page.

Can anyone tell me what I am doing wrong?

Thanks,
Doug


DockLayoutPanel p = new DockLayoutPanel(Unit.EM);
p.addNorth(new HTML("header"), 2);
p.addSouth(new HTML("footer"), 2);
p.addWest(new HTML("navigation"), 10);
p.add(new HTML("Content"));
RootPanel.get().add(p);

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate