dcorking / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
0 stars 0 forks source link

Blip has no Elements when get it from bundle.getBlip() #666

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I add a Blip whith my robot, then adding a gadget to it I can do this :
Gadget g = blip.getDocument().getGadgetView().getGadget(GADGET_PATH);
And g is not null;

Then if on next blip submission I used :
Blip b = bundle.getBlip(bundle.getWavelet().getWaveId(), 
bundle.getWavelet().getWaveletId(), blipId);

Then again this :
Gadget g = blip.getDocument().getGadgetView().getGadget(GADGET_PATH);

I can get the Blip, but it considers it as empty blip without any Elements 
in.

Original issue reported on code.google.com by vincent....@gmail.com on 28 Feb 2010 at 6:14

GoogleCodeExporter commented 9 years ago
In version 2 of the Google Wave Robots API, released today, you can specify 
'ALL' 
context to retrieve all the blips in a wave. That resolves this issue. See the 
documentation for more information:

http://code.google.com/apis/wave/extensions/robots/events.html#EventContext

(Note that this is an entirely new API, and to use it, you will need to 
download the 
new SDK and rewrite your robot code) 

Original comment by pamela.fox on 3 Mar 2010 at 12:12