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