You can, but it's a lot of work. I think the easiest way is just loading JSON from your background when you need certain code...
Butttt I would migrate to 2.0 I quess... safes some work... On Oct 8, 5:45 pm, balachandra maddina <[email protected]> wrote: > Hi Hermod, > > Yeah V2 is very exiting but im wondering if the Code Splitting and > Declarative User Interface can be coded using GWT 1.7 may be not exactly the > same but can some form of such functionality can be achieved by using GWT > 1.7, using the features like IFRAMES or JSNI or JSON etc...? > > Thank you, > bala. > > On Thu, Oct 8, 2009 at 8:09 PM, Hermod Opstvedt > <[email protected]>wrote: > > > > > Hi > > > That is possible in V2 - Milestone 1 just released > > > Hermod > > > -----Opprinnelig melding----- > > Fra: [email protected] > > [mailto:[email protected]] På vegne av balachandra > > maddina > > Sendt: 8. oktober 2009 14:42 > > Til: [email protected] > > Emne: Modular loading of widgets, is it possible? > > > Hi There, > > > Im aware that GWT obfuscate the compiled javascript code well, but still i > > dont want to load all my application javascript in one shot. im more > > interested on loading different widgets as modules. one of the reasons is > > my > > application is complex and code kept growing and i kept adding more events > > to handle different views which resulted a not so friendly maintainable > > system. > > > so what im planning to do is load a module when a link is clicked(event > > triggering but not like a 100 events. thinking if i can manage all of them > > with a few events) in my landing page and this module will have children > > and > > all the necessary support for their rendering will be supported by the > > parent(the module which is loaded). typically in my application ill be > > having a number of these modules and the scariest part is most of them are > > complex. so im very keen on not loading all the modules in one single big > > JS > > file rather im planning to load them something similar to OpenSocial > > Gadgets > > where an externally created component(gadget) can be loaded into the > > container. > > > My question is, is this possible? if possible how can this be done? > > > any help on this would be very much appreciated(please...) > > > Thank you, > > bala. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
