I'm trying to migrate my application to GWT 2.1 but I run into problems
trying to switch
from my DockPanel to the DockLayoutPanel.
Before I had this:
RootPanel.get().add(new MainPanel());
public class MainPanel extends Composite implements KeyDownHandler {
public FocusPanel focusPanel = new FocusPanel();
public static DockPanel dockPanel = new DockPanel();
dockPanel.add(banner, DockPanel.NORTH);
dockPanel.add(loginPanel, DockPanel.CENTER);
dockPanel.setWidth("100%");
focusPanel.setWidget(dockPanel);
initWidget(focusPanel);
focusPanel.addKeyDownHandler(this);
onKeyDown(KeyDownEvent e) { ... every keyDown in my app gets picked
up here }
}
I have no way to turn this into a working version with the DockLayoutPanel.
Any Thoughts? Could someone please look into this for me?
Kind Regards
Bert
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.