File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes Nested layout help, DockLayoutPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Nested layout help, DockLayoutPanel" Watch "Nested layout help, DockLayoutPanel" New topic

Nested layout help, DockLayoutPanel

Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
I'm creating an application with a view based upon the DockLayoutPanel.

I initialize a DockLayoutPanel and add SimplePanels to the north, south, west, and center docks so I can pass them to the Presenters.

The presenter then adds a custom widget to the to the SimplePanel. The custom widget contains a StackLayoutPanel (think left stackpanel navigation like gmail). The issue is the stack isn't displaying correctly, I'm only seeing the first stack in the panel.

If I add the custom widget directly to the DockLayoutPanel without first adding a SimplePanel, it works fine. But this would mess up my MVP coupling.

Any help is appreciated.
I agree. Here's the link:
subject: Nested layout help, DockLayoutPanel
jQuery in Action, 3rd edition