Extend GWT app without recompile

76 views
Skip to first unread message

sidney3172

unread,
Nov 17, 2012, 1:34:09 PM11/17/12
to google-we...@googlegroups.com
Hello!

I've googled this question for some time with no luck.
The problem:
I have compiled gwt app. Is there any way to extend this application without recompile? Probably I can manually inject some ***.nocache.js script into running gwt page.
For example I have a launcher with some number of links/buttons (something like iCloud web interface start page). Each link refers to independent gwt application. But when user clicks some of the icons i want to load application within the same html file. Also I need to do some data exchange between these modules ( I mean I want pass some data from "launcher" to newly loaded module). Is this possible?

Thanks in advance!

Joseph Lust

unread,
Nov 18, 2012, 11:06:20 AM11/18/12
to google-we...@googlegroups.com
Sidney,

Yes, this is possible as I did with an application this year. I have a landing page (GWT) that has links to other available GWT applications (dynamic list loaded from server). This landing page acts as a frame (header/footer). The sub applications (each individually compiled as a separate GWT app) are loading into an iframe positioned in the middle of the page. Calls are made between the out and inner GWT applications using window.postMessage and JSON serializations and an interface.

Hope that helps.


Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages