I am attempting to create a web application that use more than one GWT
apps.
1. The initial Portal app is a has Panel containing two TabPanels
2. The first and second tabs are GWT modules.

The package structure is as below:
TestGwt\src\com\mygwt\portal
TestGwt\src\com\mygwt\admin
TestGwt\src\com\mygwt\myapp

Each of the html in the gwtapps have id "portal_slot1", "admin_slot1"
and "myapp_slot1"

The issues is when I am trying to invoke individual applications the
app looks fine. When I access the admin and myapp from inside the
portal, I get a null pointer due to
RootPanel.get("admin_slot1").add(button);

I then tried include "admin_slot1" and "myapp_slot1" in the
Portal.html and everything looks fine but the items I add to the Admin
and Myapp gets added in Portal also... i.e I see two of everything.
One inside the tabs and one on the main Porta.html. I finally set
"admin_slot1" and "myapp_slot1" to invisible in Portal's entry point.

Is there any other alternative? Am I doing something wrong or breaking
some best practice rules?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to