I see a solution for this case. Main problem of the GWT today is
single compiled js-cache. This cache contains common block (vars +
functions) used by _each_ compiled GWT addon and  addons specific
blocks.

Javascript allows to include specific parts of application due include
"part_x.js" mechanism.
If GWT compiler will build js-cache with next logic:

js-root
 | vars (global)
 | funcs (global)
 |
 |--- include "addon1.js"
 |      | vars (addon1)
 |      | funcs (addon1)
 |      |
 |--- include "addon2.js"
 |      | vars (addon2)
 |      | funcs (addon2)
 |

Then it will be possible to include/exclude specific addons on fly (by
dynamic includes substitution). Of course that's will work only before
load to client browser. May be will be necessary in some cases to add
small code for control of "onLoad" function.

-- 
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.

Reply via email to