composite exchange on RootPanel

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

composite exchange on RootPanel

Postby Alline » Tue Sep 02, 2008 11:54 am

I want to know how can I exchange composites views in the root panel.

I have a composite that I am calling "Home",
and I have another one that I am calling "Page2" .

And I have a Menu that navigates between Home and Page2.
The menu is showing in both pages, the idea is only to change the content of the pages.

I know in GWT that we have to create diferent <div> tags on the HTML file of my Module.

But how does it works easier with GWT Designer??
Alline
 
Posts: 3
Joined: Tue Sep 02, 2008 11:51 am

Re: composite exchange on RootPanel

Postby Eric Clayberg » Wed Sep 03, 2008 4:34 am

Have you tried using a DeckPanel? That is exactly what Google provided it for...

DeckPanel.png
Use DeckPanel for swapping Composites
DeckPanel.png (51.88 KiB) Viewed 327 times
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests