Hi SolutionSeeker, >From the GWT point of view, the easiest solution is to make each portlet run in its own IFRAME. GWT's default linker, the IFrameLinker, handles this fine.
Failing that, here's a related thread you may not have found: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6b59c9b715f55809/7aa86072e1d27410?#7aa86072e1d27410 I think the main challenge is how to prevent both GWT instances from contending for the same DIV. Colin's solution in the referenced thread looks promising if you have enough control of the portal-generated HTML to write out the JS map he proposes. You might also have a look at http://code.google.com/p/gwt-exporter/, as it might allow you to export your GWT app in such a way that you could invoke it with an argument (say, the ID of the portlet DIV), but I'm not certain of that. /dmc On Fri, May 6, 2011 at 1:09 PM, SolutionSeeker <[email protected]> wrote: > Hi, > > I have searched this forum, but I have not come up with a good > solution yet. I have put my GWT module into a portlet and it works > great except I cannot put two instances of the same portlet onto the > same page. I gather that this has to do with a GWT limitation that > will prevent it from loading the same GWT module into the same page > twice. Has anybody come up with a good solution for this? > > Thanks. > > -- > 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. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.
