Yeah, there is 1 problem I have with your solution and a separate issue your solution doesn't address. The problem I have with your solution is that iFrames can't inherit size. One behavior I like is that you can stack the modules and they will fit tightly against the other and the one below will move if the upper one's height changes, i.e. a disclosure panel. The issue that your issue doesn't seem to resolve is that I would like to dynamically add the modules to the page as they are added and would like the main module to not know anything about them other than the fact that they extend an abstract sub module and the location of the module's nocache.js.
On Mar 31, 2:14 am, Olivier Monaco <[email protected]> wrote: > Hi, > > I don't know if I'll answer your question but we working on a main GWT- > module with pluggable sub-modules. Each sub-modules is an ui- > independant part of the whole application. To avoid interferences, > each module loads into its own iframe. I wrote a messaging system that > allow each module to communicate with each other (JSON serialization, > auto-discovery of other modules...). > > Olivier > > On 31 mar, 03:10, lineman78 <[email protected]> wrote: > > > I know this is a common request of people trying to make pluggable > > applications. It seems that every time someone comes up with a > > solution to this problem the GWT team changes the way the core linkers > > work and break the solution. I was wondering if anyone knows a way to > > dynamically load a module either with a new linker, or a different > > method than the traditional appending a new script element to the end > > of the body. I try to append a script element to the end of the body > > and it completely blows the document away and freezes the page in a > > loading mode. I found an email exchange between members of the GWT > > contributors group in December where they discuss new methods for the > > default linkers using dynamic iframes. I have been exploring this > > capability since 1.5 and every time I revisit it the method(hack job) > > I used the last time will not work. I would really like a more > > consistent method. > > > Every forum I have seen where someone asks this someone inevitably > > asks why, so let me head off this question by explaining. I have run > > into this in a few different situations, one when trying to integrate > > GWT "portlets" into Liferay(Java portlet). The second situation is in > > trying to create a dynamic binding of sorts. I have been trying to > > figure out a way to create a GWT portal where you could install > > modules and they could be added and removed dynamically without having > > to recompile the core, creating something similar to iGoogle or > > Liferay in a GWT/J2EE implementation. -- 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.
