[Google Wave APIs] Re: 2 newwavemenu hooks, 1 robot, 2 different

2009-10-28 Thread Agustin Horischnik
k to > add robot+createlea...@appspot.com and > robot+createt...@appspot.com respectively. >  And inside your robot implementation you can check to see what the trailing > + data is and react accordingly. > > Austin > > On Tue, Oct 27, 2009 at 2:28 PM, Agustin Horischnik

[Google Wave APIs] Re: 2 newwavemenu hooks, 1 robot, 2 different wave kinds?

2009-10-28 Thread Agustin Horischnik
groups.google.com/group/google-wave-api/browse_thread/thread/29d273a4d16e324 > > > <http://groups.google.com/group/google-wave-api/browse_thread/thread/29d273a4d16e324>Please > only post once per each question, thanks. > > Austin > > On Tue, Oct 27, 2009 at 12:50 P

[Google Wave APIs] 2 newwavemenu hooks, 1 robot, 2 different

2009-10-27 Thread Agustin Horischnik
I'm working on a robot that "maps" waves to database entities of two different kinds. For instance 'league' and 'team'. So, ideally I thought, my extension installer manifest.xml would define two menuHook elements, both with location=newwavemenu and different text attributes: "Create league" and

[Google Wave APIs] 2 newwavemenu hooks, 1 robot, 2 different wave kinds?

2009-10-27 Thread Agustin Horischnik
I'm working on a robot that "maps" waves to entities of two different kinds. Say 'league' and 'team'. Ideally I thought, my extension installer manifest.xml would define two menuHook elements, both with location=newwavemenu and different text attributes: "Create league" and "Create team". So on th

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-27 Thread Agustin Horischnik
sending containing a long unicode strings, the > json above can successfuly show the gadget and show the content. > However when the delta above gets extremely long then it won't show > the gadget though no error in log file... > > So I believe there's limit in the length

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-26 Thread Agustin Horischnik
converted > unicode... so it become longer json strings. > > the gadget will not show if the passed data is too long. > so I guess my json data is too big to be passed into the gadget. > anyone can help me in this? > > On Oct 26, 7:17 pm, Agustin Horischnik wrote: > &

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-26 Thread Agustin Horischnik
et me know if need more info. Agustin. On Oct 22, 2:14 am, Agustin Horischnik wrote: > Gotcha. Yeah, I can see why is better for concurrency. > Thanks for your help. > > On Thu, Oct 22, 2009 at 3:05 AM, pamela (Google Employee) < > > > > pamela...@gmail.com> wrote: >

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-21 Thread Agustin Horischnik
s elegant, but it is better in terms of concurrency, as it > means that I can independently change different properties. > > On Thu, Oct 22, 2009 at 11:56 AM, Agustin Horischnik wrote: > >> >> > Ah, got it. What was your experiencing with using simplejson? You should >>

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-21 Thread Agustin Horischnik
> Ah, got it. What was your experiencing with using simplejson? You should be > able to serialize that object and pass it through the delta. We don't have a > demo of that, but think it should work. I don't remember but I'll re-try simplejson and report back. > You could also consider using more

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-21 Thread Agustin Horischnik
t;javaClass":"java.util.ArrayList", "list":[ "One", "Two", "Three" ] [...] Is using a list

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-21 Thread Agustin Horischnik
"One", "Two", "Three" ] [...] Is it a dictionary with a list object as value not suported as delta? Cheers. On Oct 21, 6:02 pm, "pamela (Google Emplo

[Google Wave APIs] JSON from robot (python) to gadget the right way

2009-10-21 Thread Agustin Horischnik
Hi, I have a python robot which updates the state of a gadget. What would be the right way to pass a list/array to the gadget? I assume it's encoding it in JSON, right? But what's the right way to do that? I tried importing simplejson from Django but it didn't really work very well. Is anybody do

[Google Wave APIs] Re: GadgetSubmitDelta right after append new gadget (python)

2009-10-19 Thread Agustin Horischnik
Well, too late... as always. Cheers. On Oct 19, 7:07 pm, Agustin Horischnik wrote: > Ah, sorry, I thought you fixed it already. This code is working for > me: > > gadget = document.Gadget(GADGET_URL) > doc.AppendElement(gadget) > delta = { 'firstname' : 'joe&

[Google Wave APIs] Re: GadgetSubmitDelta right after append new gadget (python)

2009-10-19 Thread Agustin Horischnik
know. Agustin. On Oct 19, 6:17 pm, Chris Searle wrote: > On 19. okt.. 2009, at 17.54, Agustin Horischnik wrote: > > > > > Hey Chris, no that wasn't the issue in this case but you're right, I > > tried and it does make var_name into varName... > > > Tha

[Google Wave APIs] Re: GadgetSubmitDelta right after append new gadget (python)

2009-10-19 Thread Agustin Horischnik
Hey Chris, no that wasn't the issue in this case but you're right, I tried and it does make var_name into varName... Thanks for the answer. On Oct 19, 5:12 pm, Chris Searle wrote: > Hmm. Similar discussion > tohttp://groups.google.com/group/google-wave-api/browse_thread/thread/4... > > I've cu

[Google Wave APIs] Re: GadgetSubmitDelta right after append new gadget (python)

2009-10-19 Thread Agustin Horischnik
Right, that worked! It makes sense too... (isn't it cool when it does? ha!) Thanks so much, David. Agustin. On Oct 19, 4:28 pm, David Nesting wrote: > On Mon, Oct 19, 2009 at 3:26 AM, Agustin Horischnik wrote: > > > doc.AppendElement(document.Gadget(GADGET_U

[Google Wave APIs] GadgetSubmitDelta right after append new gadget (python)

2009-10-19 Thread Agustin Horischnik
I have a robot that adds a gadget to a wave like this... doc.AppendElement(document.Gadget(GADGET_URL)) ... and I want to submit delta right afterwards, like this... gadget = blip.GetGadgetByUrl(GADGET_URL) if gadget: delta = { 'name' : 'joe' } doc.GadgetSubmitDelta(gadget, delta) ...

[Google Wave APIs] Re: Any changes to the Wave accounts after tomorrow customer preview release?

2009-10-02 Thread Agustin Horischnik
I just got the invite. A wave titled "Enable your Google \/\/ave account" in my sandbox acc inbox. It contains a link to validate/log in and it worked fine. I guess everyone should have theirs today... On Oct 1, 4:08 pm, Suhas Nandakumar wrote: > I am still waiting on for the invite .. hopeful