[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://code.google.com/p/google-wave-resources/issues/detail?id=406q=setfieldcolspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20InternalOn
Nov 17, 1:56 am, pamela (Google Employee) 
pamela...@gmail.com wrote:  It does work, and many robots do so, but there
are some bugs filed about  cases where it does not work. For example:
http://code.google.com/p/google-wave-resources/issues/list?can=2q=se...  
http://code.google.com/p/google-wave-resources/issues/list?can=2q=se... 
   On Mon, Nov 16, 2009 at 8:02 AM, Jacco jacc...@gmail.com wrote:  
I think currently communicating from robot to gadget is not possible?   
The gadget.setField does not change the state of the gadget in my   tests.
   Regards, JaccoOn 12 nov, 16:48, just marvin 
marvin.greenb...@gmail.com wrote:It occurs to me that since you'll
need a bot and a gadget, you couldjust have the bot add the gadget(s)
to the wave.  Then you just needto add one thing to the wave and
you'll know you have the correctenvironment for the gadgets.--
   You received this message because you are subscribed to the Google
Groups   Google Wave API group.   To post to this group, send email to
google-wave-...@googlegroups.com.   To unsubscribe from this group, send
email to   
google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
google-wave-api%2Bunsubscribe@ googlegroups.com   .   For more
options, visit this group at  
http://groups.google.com/group/google-wave-api?hl=.

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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
datastore and do your proactive work.



Raphaël



On Thu, Dec 10, 2009 at 1:12 AM, martin martindev...@gmail.com wrote:
 Goodo, I shall await eagerly. I have some rather cool ideas I want to
 test using this ;)

 On Dec 9, 11:56 pm, Austin Chau (Google employee)
 api.aus...@google.com wrote:
 Can't give ETA but I can say soon :)

 On Wed, Dec 9, 2009 at 3:49 PM, martin martindev...@gmail.com wrote:
  As ever google is one step ahead of me ;)

  Any idea when that will be done (days/weeks/months)?

  On Dec 9, 11:45 pm, Austin Chau (Google employee)
  api.aus...@google.com wrote:
   Hi Martin,

   In fact we are actively working on the active API as we speak :)

   When it is polished enough we will update the docs with cut new client
   libraries for it.  Thanks for the patience.

   Austin

   On Wed, Dec 9, 2009 at 3:33 PM, martin martindev...@gmail.com wrote:
As far as I can see, at the moment robots are limited to being
entirely reactive, ie. they can only make a change to a wave when
something else happens. Is it possible for a robot to be proactive and
initiate changes in a wave without an event in the wave triggering it?
I wonder this because I want to use a robot as an interface between a
service and wave, when the wave changes the service should be informed
(the robots catches the changes, converts them into the correct form,
and sends them on) and when something in the service changes it pings
the robot which would then apply this change in the correct format to
the wave.

--

You received this message because you are subscribed to the Google
  Groups
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to
google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
  google-wave-api%2bunsubscr...@googlegroups.comgoogle-wave-api%252bunsubscr...@googlegroups.com

.
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 google-wave-...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
  .
  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 google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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 goo...@barrayar.org:
 I'm developing a Wave gadget. It sets a callback function for
 setStateCallback() and setParticipantCallback(), which apparently gets
 called immediately, three times (I'm guessing once for the
 setStateCallback and once each for the two participants).

 The callback function (updateDisplay) calls another internal function
 which calls wave.getState(). Well, the first time it calls
 wave.getState() I get a JS error saying that wave.getState() is null,
 which I guess means it hasn't been initialized yet. So my question is,
 why is wave calling the callbacks before the wave object is fully
 initialized, or am I doing something wrong?

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 conflicts. Since a tree is a
simplified form of a graph, you can store it like a lot of graph
implementations do, as a set of vertices and a set of edges. The one
user can edit the structure and another the fields of a node and avoid
*some* conflicts

Cheers
Benjamin

On Dec 9, 5:20 pm, Jiang, Guoqian, Ph.D. jiang.guoq...@mayo.edu
wrote:
 Thank you very much for your suggestion and this is very helpful,

 I think DataBlip is a great idea. Let us assume that each node of a tree
 structure is represented as a wave blip and the entire tree will be a
 wavelet. We just need a UI rendering layer (say a Gadget) that can
 access the data blip. The curation of the tree will just mimic the blip
 creating, editing or deleting. In this way, we do not need worry about
 the conflicts among collaborators as we can leverage built-in wave
 feature.

 I think the Google Wave API can transform a tree structure into a
 wavelet and its blips but I am not sure if there is a way that a UI
 layer in a Gadget can access and communicate with the blips,

 Any idea?

 Thanks,

 -Guoqian

 

 From: google-wave-api@googlegroups.com
 [mailto:google-wave-...@googlegroups.com] On Behalf Of David Nesting
 Sent: Wednesday, December 09, 2009 10:31 AM
 To: google-wave-api@googlegroups.com
 Subject: Re: [Google Wave APIs] Google Wave Gadget persistence layer

 On Tue, Dec 8, 2009 at 10:36 AM, Jiang, Guoqian, Ph.D.

 jiang.guoq...@mayo.edu wrote:

         My  use case is that I want to reprensent a tree structure in a
 google wave gadget and a group will work collaboratively on curating the
 tree structure e.g. editing a node, adding a sub node or deleting a
 node.

         Assuming the tree structure is based on a json object, my
 question is whether there is a persistence layer API to store and
 restore a json object,

 You can serialize the JSON to a text string, and store that text string,
 as Pamela says, but I would not recommend serializing the entire tree in
 this way.  If two people are editing different parts of the tree at the
 same time, one person's edits could revert the edits done by the other
 person, if they are made close together.  If you can come up with a
 scheme to represent your tree in as granular a manner as possible, that
 would work best, possibly by doing something like:

 ...submitDelta({'tree.0.1.0'}, value)  # Sets the first child of the
 second child of the first child of the tree

 By doing this, you're reinventing some of what Wave automatically does
 for blip content.  It's a shame there isn't a way to better leverage
 that (e.g. a DataBlip that you control the mutations to and presentation
 of).

 David

 --

 You received this message because you are subscribed to the Google
 Groups Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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 albon...@gmail.com wrote:
 i'm trying to help a friend with a gadget coding. He need a similard
 comand than:

 onload=function() to be code in a gadget

 I don't know  coding at all

 if someone find a meening in that demand...please contact me

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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 AM, eng.ma2m...@gmail.com
eng.ma2m...@gmail.com wrote:
 Please could someone confirm this as it really got on my nerves.


 My Wave Robot Was working perfectly 3 days ago
 (transla...@appspot.com). I use global variables to set the language I
 want to translate to, and those variable are set by user at the
 begining of the robot creation.

 Since 3 days, I have noticed that if I leave the robot idle for 5
 minutes, the global variables reset the values by themselves and the
 user becomes unable to translate to his pre-chosen language.

 I am 100% that I haven't changed the code during last week, but I have
 noticed that it happened when my robot started getting load (although
 less the 50% of the dedicated loads).

 I have cloned the code to another ID, got same results. Tried it on
 Chrome and FF, same results.

 Can someone give a relief please since I am working on new robot, and
 this newly raised problem stopped me from doing so.

 Regards.
 Maamoun

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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, 6:07 am, pamela (Google Employee) pamela...@gmail.com
wrote:
 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 aaron.watt...@gmail.com 
 wrote:
  Looking at this function

  def OnParticipantsChanged(properties, context):
   Invoked when any participants have been added/removed.
   added = properties['participantsAdded']
   for p in added:
     Notify(context)

  Why is it calling Notify exactly the same way many
  different times?  Changes to the local variable p should
  not have any effect on what Notify does, no?  What am
  I missing here?

  mystified: -- Aaron Watters
   http://whiffdoc.appspot.com

  ===
  less is more.

  --

  You received this message because you are subscribed to the Google Groups 
  Google Wave API group.
  To post to this group, send email to google-wave-...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-wave-api+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 aaron.watt...@gmail.com 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?  Don't you have to pass in
 some sort of information about who to notify?

    -- Aaron Watters

 On Dec 10, 6:07 am, pamela (Google Employee) pamela...@gmail.com
 wrote:

  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 aaron.watt...@gmail.com 
  wrote:
   Looking at this function

   def OnParticipantsChanged(properties, context):
    Invoked when any participants have been added/removed.
    added = properties['participantsAdded']
    for p in added:
      Notify(context)

   Why is it calling Notify exactly the same way many
   different times?  Changes to the local variable p should
   not have any effect on what Notify does, no?  What am
   I missing here?

   mystified: -- Aaron Watters
    http://whiffdoc.appspot.com

   ===
   less is more.

   --

   You received this message because you are subscribed to the Google Groups 
   Google Wave API group.
   To post to this group, send email to google-wave-...@googlegroups.com.
   To unsubscribe from this group, send email to 
   google-wave-api+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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
venkat.polise...@gmail.com 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

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-wave-api?hl=en.






-- 
--Matt

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 use it like wavePanel.addListener('blip_submitted',
function_name())???


Thanks,
A good day

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 and then a short period later another document
changed event that includes all the mappings from the submitDelta.

It seems that the submitDelta doesn't set all the mappings in any
atomic sense.

What *are* the semantics of this operation?
Is that why some developers do something like {'statedata':
encode_with_json(my bunch of data)}

What I'd like to see:
- submitDelta as an atomic operation on all the mappings at once.
- the capability for the values in the key/value mappings to be
complex data (arrays and dictionaries essentially).

Thanks for further clarification,
Joel

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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
installers. You should also be able to use your own server, as long as it's
publicly available. For those 2 techniques, please paste the URLs here so we
can see if there's a problem on our side.

Any host that serves the file as text/plain or text/xml should work.

- pamela

On Fri, Dec 11, 2009 at 3:55 AM, Romain Vallet romain.val...@gmail.comwrote:

 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 file was pretty simple so I was quite confident about its
 correctness.

 At first my xml and image files where hosted on a Google Sites page.
 After trying different hosts, I had the installer work by hosting the
 files through GGE.

 I tried Google Sites, Google Code SVN and a generic host (personal
 page on ovh.org), none of them worked.

 Only the manifest file seems to be affected. For example, if I put the
 other files on SVN and the manifest file on GGE, everything works
 fine.

 Has anyone else encountered this issue?

 --

 You received this message because you are subscribed to the Google Groups
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
 .
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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 perimosocord...@gmail.com wrote:

 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 document and image_url is a
 string.  This should be working, right? There are no errors showing up
 in the logs, but the images don't get added.

 On Dec 2, 4:06 am, hvt_kg thaihuyn...@gmail.com wrote:
  Hi Dennis H,
 
  Thanks for your info, You are Right :). But that just only for test
  how to get image append blip,...
  Alex,
 

 --

 You received this message because you are subscribed to the Google Groups
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
 .
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[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 raph...@gmail.com wrote:
 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
 datastore and do your proactive work.

 Raphaël

 On Thu, Dec 10, 2009 at 1:12 AM, martin martindev...@gmail.com wrote:
  Goodo, I shall await eagerly. I have some rather cool ideas I want to
  test using this ;)

  On Dec 9, 11:56 pm, Austin Chau (Google employee)
  api.aus...@google.com wrote:
  Can't give ETA but I can say soon :)

  On Wed, Dec 9, 2009 at 3:49 PM, martin martindev...@gmail.com wrote:
   As ever google is one step ahead of me ;)

   Any idea when that will be done (days/weeks/months)?

   On Dec 9, 11:45 pm, Austin Chau (Google employee)
   api.aus...@google.com wrote:
Hi Martin,

In fact we are actively working on the active API as we speak :)

When it is polished enough we will update the docs with cut new client
libraries for it.  Thanks for the patience.

Austin

On Wed, Dec 9, 2009 at 3:33 PM, martin martindev...@gmail.com wrote:
 As far as I can see, at the moment robots are limited to being
 entirely reactive, ie. they can only make a change to a wave when
 something else happens. Is it possible for a robot to be proactive 
 and
 initiate changes in a wave without an event in the wave triggering 
 it?
 I wonder this because I want to use a robot as an interface between a
 service and wave, when the wave changes the service should be 
 informed
 (the robots catches the changes, converts them into the correct form,
 and sends them on) and when something in the service changes it pings
 the robot which would then apply this change in the correct format to
 the wave.

 --

 You received this message because you are subscribed to the Google
   Groups
 Google Wave API group.
 To post to this group, send email to 
 google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
   google-wave-api%2bunsubscr...@googlegroups.comgoogle-wave-api%252bunsubscr...@googlegroups.com

 .
 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 google-wave-...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
   .
   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 google-wave-...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-wave-api+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




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 goo...@barrayar.org:
 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 goo...@barrayar.org wrote:
 I'm developing a Wave gadget. It sets a callback function for
 setStateCallback() and setParticipantCallback(), which apparently gets
 called immediately, three times (I'm guessing once for the
 setStateCallback and once each for the two participants).

 The callback function (updateDisplay) calls another internal function
 which calls wave.getState(). Well, the first time it calls
 wave.getState() I get a JS error saying that wave.getState() is null,
 which I guess means it hasn't been initialized yet. So my question is,
 why is wave calling the callbacks before the wave object is fully
 initialized, or am I doing something wrong?

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.