Re: [Google Wave APIs] Re: getState() is null?

2009-12-10 Thread Matias Molinas
Works for me, but only in firefox 3 :-( . I suspect that this is a problem initializing the state, but I can not even identify. Thank you very much! 2009/12/10 dirtside : > I actually figured out that using submitValue() instead of submitDelta > () seems to work properly for whatever key. Not sure

[Google Wave APIs] Re: Can robots be proactive

2009-12-10 Thread martin
But then I'll have to go through the entire process of establishing a connection with the wave server myself, which would be a bit of a gnarly process I imagine. On Dec 10, 10:13 am, Raphaël Pinson wrote: > Hi Martin, > > Even now, you should be able to achieve what you want to do using > crontab

[Google Wave APIs] Re: Java robot setField() does not work

2009-12-10 Thread dougx
I suggest using XSS to communicate directly with your server and don't use the robot-gadget api. Here's an example of how to get the XSS working; http://austinchau.blogspot.com/2008/11/html5-cross-document-messaging.html Once you have that up and running collect robot triggered changes server-sid

Re: [Google Wave APIs] Re: Wave Robot

2009-12-10 Thread pamela (Google Employee)
There is a known issue with images right now. It is fixed in Sandbox, and should be fixed in Preview shortly. Star: http://code.google.com/p/google-wave-resources/issues/detail?id=562 On Fri, Dec 11, 2009 at 4:52 AM, CJ Carey wrote: > I tried yours, and it's no longer working. I also have a bot

[Google Wave APIs] Office Hours Transcript: December 10, 2009

2009-12-10 Thread pamela (Google Employee)
https://wave.google.com/a/wavesandbox.com/#restored:wave:wavesandbox.com!w%252BmO3w_w9KA [CLOSED] Office Hours: December 10, 2009 Welcome to API office hours! *Please top post your question or comment about the robot, gadget, or embed API to make sure we see it. You can do so by replying to thi

Re: [Google Wave APIs] Extension Installer only works with selected hosts for the manifest file

2009-12-10 Thread pamela (Google Employee)
Hi Romain - Google Sites is particular in regards to how files are served. XML files aren't directly served; they're served as attachments; and that isn't compatible with our fetcher. You can use Google Code Project Hosting to store the files in the SVN repositories; that's where we store our inst

[Google Wave APIs] Multiple mappings in a gadget.submitDelta - odd behavior? Not atomic?

2009-12-10 Thread JoelR
I'm trying to do a submitDelta from my gadget with contents such as: submitDelta({'foostate': 'foovalue', 'barstate': 'barvalue', 'mumblestate': 'mumblevalue'}) My robot is receiving document changed events. What I'm seeing is that I'll get a document changed event with the first mapping above an

[Google Wave APIs] Re: Wave Robot

2009-12-10 Thread CJ Carey
I tried yours, and it's no longer working. I also have a bot that's supposed to append images, and it doesn't work either. You can try it out, if you want: imagepas...@appspot.com I'm using the Python API: doc.AppendElement(document.Image(url=image_url)) In the above example, "doc" is the blip d

[Google Wave APIs] Extension Installer only works with selected hosts for the manifest file

2009-12-10 Thread Romain Vallet
Hi, I wrote a gadget and I'm trying to share it with my friends with an extension installer. I installed the "Extension Installer" extension in wave and tried to use it with my manifest file, but it didn't work. Error message: "Aw snap! There was a problem loading this extension". The manifest fil

[Google Wave APIs] Did somebody ever used wavePanel.addListener() method?

2009-12-10 Thread oj
Hi there, In a few words, I would like my html page to react at events generated by the embeded wave. I searched & searched and assumed that the addListener() method is the only one that meets my request. But couldn't find any kind of doc for it, no reference, like nobody is using it. I could u

Re: [Google Wave APIs] pub...@a.gwave.com --> does this participant work on Preview ...

2009-12-10 Thread Matt Richards
Yes, you can. I've done this in Preview and Sandbox. On Thu, Dec 10, 2009 at 11:41 AM, Venkat Polisetti wrote: > I am wondering by adding this participant to the Wave Preview, can we > make a wave public? (NOT SANDBOX) > > Can some one from Google team confirm this. > > Thanks, > Venkat Polisetti

[Google Wave APIs] working RSS robot on Preview Server

2009-12-10 Thread Monika Adamczyk
Does anybody knows of a RSS robot that works well on the Preview Server? I need one for a demo today and I just found out that bloggy-w...@appspot.com is completely down and so it rssy...@appspot.com. If someone has a working RSS robot, please send me a link to it. Thanks Monika -- Monika Adamcz

[Google Wave APIs] pub...@a.gwave.com --> does this participant work on Preview ...

2009-12-10 Thread Venkat Polisetti
I am wondering by adding this participant to the Wave Preview, can we make a wave public? (NOT SANDBOX) Can some one from Google team confirm this. Thanks, Venkat Polisetti -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this gro

[Google Wave APIs] Re: getState() is null?

2009-12-10 Thread dirtside
I actually figured out that using submitValue() instead of submitDelta () seems to work properly for whatever key. Not sure why, but at least my gadget works now :-) On Dec 9, 3:50 pm, dirtside wrote: > I'm developing a Wave gadget. It sets a callback function for > setStateCallback() and setPart

[Google Wave APIs] Re: silly question about the tutorial

2009-12-10 Thread Aaron Watters
oh ok. got it now, sorry... I was looking to hard. On Dec 10, 8:22 am, Aaron Watters wrote: > Sorry, I'm still being dense here. > > How does Notify(context) do different things > at different times when neither the context argument > nor the global namespace environment appear > to be changing?

[Google Wave APIs] Re: silly question about the tutorial

2009-12-10 Thread Aaron Watters
Sorry, I'm still being dense here. How does Notify(context) do different things at different times when neither the context argument nor the global namespace environment appear to be changing? Don't you have to pass in some sort of information about who to notify? -- Aaron Watters On Dec 10,

[Google Wave APIs] Re: Wave in enterprise domain - limited options?

2009-12-10 Thread pamela (Google employee)
Hi Sathish- 1. So you're using an iframe inside an iframe (the gadget)? You could try using HTML5 postMessage, which I believe is supported in the browsers that Wave supports. 2a. Embedding should work in a custom domain- it works for my / google.com/ embedded waves. You're correct that there's n

Re: [Google Wave APIs] Global Values Reset after minutes of Idle time

2009-12-10 Thread pamela (Google Employee)
Hi Maamoun - This is an App Engine issue. App Engine runs your app from different servers at different times, and this resets the value of global variables. If you need to store something to persist across events, then use the datastore or a data document. - pamela On Thu, Dec 10, 2009 at 12:14

Re: [Google Wave APIs] silly question about the tutorial

2009-12-10 Thread pamela (Google Employee)
It simply adds a blip for every participant on the wave. It would probably be a bit more sensible if it displayed their address, but tutorials are not always practical. You could extend it to do that, of course. - pamela On Thu, Dec 10, 2009 at 2:01 PM, Aaron Watters wrote: > Looking at this fu

Re: [Google Wave APIs] onload="function()" similar coding in a gadget

2009-12-10 Thread pamela (Google Employee)
I would suggest that he go through the gadgets tutorial, as the example there shows how to do onload in a gadget: http://code.google.com/apis/wave/extensions/gadgets/guide.html - pamela On Thu, Dec 10, 2009 at 10:27 AM, Albonobo wrote: > i'm trying to help a friend with a gadget coding. He need

[Google Wave APIs] Re: Google Wave Gadget persistence layer

2009-12-10 Thread bjnort...@gmail.com
Pamela is right, it's easy to serialise/deserialize JSON strings, the browsers that support Wave have native JSON support. Simply use JSON.parse(jsonString) and JSON.stringify(object) As Davis says, it's probably a good idea to store the nodes and structure of the tree separately to avoid conflic

Re: [Google Wave APIs] getState() is null?

2009-12-10 Thread Matias Molinas
I have the same problem in Firefox 3.5 and Chrome. In Firefox 3 works correctly . Any official solution? 2009/12/9 dirtside : > I'm developing a Wave gadget. It sets a callback function for > setStateCallback() and setParticipantCallback(), which apparently gets > called immediately, three times

Re: [Google Wave APIs] Re: Can robots be proactive

2009-12-10 Thread Raphaël Pinson
Hi Martin, Even now, you should be able to achieve what you want to do using crontabs. Appengine lets you call your script with cron, so what you could do is: 1) When the bot is called in a Wave, store the WaveID in the datastore 2) When the bot is called from cron, get all WaveIDs from the datast

[Google Wave APIs] Java robot setField() does not work

2009-12-10 Thread Solomon Wu
We are also hitting issue #406. When using setField to set gadget state, gadget does not receive the state change. Since we are trying to use it for robot-gadget interaction, the robot has to change gadget state in response to gadget state change. Is there a workaround? Thank you very much. http://