It is possible in GWT 2.0, which hasn't been released as yet (but you can
still get it working by building from trunk).
The feature is called 'Developer Guided Code Splitting'. The developer has
to demarcate code by invoking the GWT.runAsync() method, and then provide a
callback interface which gets called once the code has downloaded.
You can read more about it at the following links -
Code Splitting Wiki -
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
Story of Your Compile presentation @ Google IO -
http://code.google.com/webtoolkit/media_gallery.html
--Sri
2009/10/3 Sampath Kumar sampat...@gmail.com
Hello ,
Most of the articles sites speak about I18N browser specific
code optimizations. Is there a way by which I can, for example, load only
widgets for a specific tab in a tabpanel, when the user selects the specific
tab. I only load the widgets in the default tab when the page loads. May be
I need to set a property before I do a GWT.create(Abstract widget type).
in each widget. Is this achievable in some way?
Regards,
SK
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---