Thanks a lot for your help. I will try the next days to get this
finally done. In the meantime I use jQuery to get the things done.
It's for a small presentation on wave and so I just needed something
to create a small JS demo (with a little bit of eye candy stuff :D).

On 6 Okt., 16:59, dLux <[email protected]> wrote:
> I had exactly the same problem with prototype.js, I had to disable it.
>
> But you can use the gadgets JSON parser (as I did also) 
> instead:http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_JSON
> .
>
> Balázs
>
> On Oct 6, 1:04 pm, Avital Oliver <[email protected]> wrote:
>
> > Yes - You need to tell Prototype to implement stringify and parse by calling
> > the existing Prototype functions.
>
> > --http://thewe.net
>
> > On Mon, Oct 5, 2009 at 8:33 PM, Geeeee <[email protected]> wrote:
>
> > > Thanks for the suggestion. But still no success. I think the main
> > > problem is that I am not a experienced js developer. I will try a few
> > > hours more to get the prototype object extended.
> > > Did I get you right, that I need to tell prototype to use the
> > > functions 'stringify' and 'parse' with the ones provided by prototype
> > > (toJSON / evalJSON)?
>
> > > On 5 Okt., 19:35, Avital Oliver <[email protected]> wrote:
> > > > The same error happens with MooTools. I believe it might be for the same
> > > > reason. See if you can use this MooTools solution for your problem.
>
> > > >http://wave.thewe.net/2009/09/07/google-wave-gadgets-using-mootools/
>
> > > > --http://thewe.net
>
> > > > On Mon, Oct 5, 2009 at 7:10 PM, Geeeee <[email protected]> wrote:
>
> > > > > I don't know how to solve the following problem:
> > > > > I created a simple (yes real simple) gadget. To get it a little bit
> > > > > cooler I decided to add prototype.js support. But at the moment I
> > > > > included prototype via
> > > > > <script type="text/javascript" src="http://ajax.googleapis.com/ajax/
> > > > > libs/prototype/1.6.1.0/prototype.js<
> > >http://ajax.googleapis.com/ajax/%0Alibs/prototype/1.6.1.0/prototype.js>
> > > > > "></script>
> > > > > I get wave.getState() is null errors (every object I try to access
> > > > > through the wave object returns null).
> > > > > Just to check the behaviour of the "includes" I added e.g. jQuery the
> > > > > same way -> no error occurs on the wave object.
> > > > > I also tried other resources for prototype but always the same error.
> > > > > Maybe someone knows a solution to get prototype support in a gadget.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to