Hi Sergio- google.load() should work fine. I use it to load 3 libraries in the Map gadget, and also use setOnLoadCallback: http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/gadgets/mappy/mappy.xml
Please post a full link to the XML if you need further help debugging this. - pamela On Feb 2, 9:53 pm, ElCondor <[email protected]> wrote: > Hello to everyone! > I've written a wave gadget in that I want to use "AJAX Libraries API". > So, I followed the instructions for use it. > At beginning of the gadget I added the reference to the script > library: > > <script src="http://www.google.com/jsapi"> </ script> > > and then the method to load the library: > > google.load ( "ext-core", "3.1.0"); > > (I want to use the EXT JS). > > Slightly further down I added the statement: > > google.setOnLoadCallback(init); > > where "Init" is my function that creates the objects EXT JS. > The problem is that the "Init" is not invoked, even if all the > previous parts are executed without errors. > > At this point I have done all without the Google loader but using > objects directly from Ext JS site and the gadget works correctly. > > My problem is that in the future I want to use the "Visualization API" > Google's in my gadget, and then I'll have to necessarily go through > the method google.load(). > > Who can tell me if I've done something wrong or if indeed the method > google.load() works correctly in a gadget? > > Thanks in advance. > > Sergio. -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en.
