using 2 or more GWT modules in a single html page
Hi,
I want to split my GWT code into multiple GWT modules, compiling all modules separately and then linking all GWT modules (.nocache.js files) in a single page. Is it a good practice? Well, I already tried with two modules, both modules are working together without any trouble except one thing, they break browser's back-fwd feature. I did some experiment and later I found out that :
- When page is loaded first time, both modules' historyChageListeners are triggered as they should - that's okay
- When a widget creates new history item (History.newItem(...)), only that module's, to which widget belongs, historyChageListener gets triggered - is it a bug, i'm using GWT 2.0.0rc2 - anyway, that works for me.
- When I use browsers back-fwd button - only one module's (may be one which gets loaded first) historyChageListener gets triggerd - is it a bug ? is there any workaround to make it work?
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 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