Thursday, July 5, 2012

Re: Multiple GWT Apps inside one HTML Pages

Thanks Thomas,

I've already done some tests and not I've not observed any kind of troubles but my fear is that if I rebuild the apps later they entered into "collision" without warning and I don't want my application to work by mistake...
Deeper inside GWT and for my personal knowledge, can you tell me if including a GWT script into an HTML page, this one is creating an iframe DOM child in which the JS fragment are loaded thus preventing several inclusion from colliding ?

Le mardi 3 juillet 2012 12:48:47 UTC+2, Thomas Broyer a écrit :
I believe all the issues have been fixed (long ago actually).
As the docs say, there were issues with event handling, but I believe everything's fixed by now (and the doc is therefore outdated).

On Tuesday, July 3, 2012 11:50:51 AM UTC+2, david....@gmail.com wrote:
Hello All,

I know this question as a lot of thread in this group but I've really found what I want.
I want to compile several gwt apps independly the one from each other and load these apps into one HTML pages by inserting the <script> of each .nocache.js
I've read on gwt developper guide https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideModules
that this is quite a bad idea, but I've some good reason for doing so.
I've also read a post from Thomas Broyer here : http://stackoverflow.com/questions/9824763/gwt-polluting-global-javascript-namespace that said that gwt code runs inside an iframe thus is not polluting other js global ressource.

Is there really a problem of inserting several gwt apps into the same hosted html page ? Does the generated JS of one module can interfered with another generated JS ?

Thanks all for your reply

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ulUew44YEVgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate