Another potential solution is by dynamic module insertion.

Can I do the following.

Just to re-instate my objective. I need a dynamic way to add
applications in to a Core Framework which is like the Hope Page
Application (H1).

So I created a standalone application A2 and dynamically in H1
inserted the a1.nocache.js. In A2 onModuleLoad I do not attach this
application using RootPanel.get().attach().  What I want is to insert
this app into the same Home page
Instead on inserting the scrip tag with what happens is that the host
html page  changes from Home Page to a blank page.

Help needed to look in the right direction

Thanks
Ashish



On Tue, Feb 23, 2010 at 9:23 AM, Ashish Khivesara
<[email protected]> wrote:
> Hi,
>    I am trying to make a UI Framework using GWT.
> Here is my objective. I need to be able to provide a mechanism whereby
> independent gwt apps could be dynamically added to the framework. The
> framework would have a single entry point which is basically a home
> page of all the available apps. A single entry point is used because
> we want all the applications inside the same DOM.
>
> Potential Solutions:
> 1. What I needed is something like Java Reflection but on the client
> side. So the Application Controller class name can be provided using a
> template to the core framework and it can use reflection to activate
> the application
>
> 2. Loading every application in a iFrame by using a url provided by a template
>
> 3. Dynamically insert an entry point or module to the existing Home
> module - not sure how to do this?
>
> Are any of these above solutions the way to do it or does gwt provide
> a better mechanism to achieve the same
>
> Thanks
> Ashish
>

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