Hi Samurai - There is a known incompatibility between prototype and the Gadgets API. Please star this issue: http://code.google.com/p/google-wave-resources/issues/detail?id=143
- pamela On Thu, Nov 26, 2009 at 11:51 PM, Samuirai <[email protected]> wrote: > Hey, > > atm I'm writing at my new version of my poll gadget. > > I used the Javascript Framework prototype + script.aculo.us. > For testing I made this Testpage http://www.samuirai.de/poll_gadget/ > And it works fine, without errors (using Firebug). > I just put the HTML File into an Gadget XML File here. > http://www.samuirai.de/poll_gadget/poll2.xml > > When I add the Gadget to a new Wave i get an Error: > >> Sortable is not defined << > Sortable is a script.aculo.us Objekt. > And it's the first what happening when you load the Gadget. > If you click on a [+] Button you will get another Error: > >> $("bar" + i).Morph is not a function << > > It looks like the Framework couldn't be included. > I checked the links and they are right: > http://www.samuirai.de/poll_gadget/scriptaculous/lib/prototype.js > and http://www.samuirai.de/poll_gadget/scriptaculous/src/scriptaculous.js > > I really can't find the fault. > I also have a problem with AJAX requests... I allways get a empty > request... (at this pount, does anybody have a simple AJAX request > test gadget wich works?) > > The only thing, where I think it's possible is, that the Gadget needs, > i don't know, the right to add extern scripts. > > Sorry for my bad english, just a young german student ;) > > kind regards, FabianF > > -- > > 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]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > > > -- 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.
