if you have the raw_data, use
  context.AddWave(raw_data)
  context.GetWaveById(waveid)

You'll need to manually add any waves, wavelets, and blips that you need
outside the original context before adding them.

This is (for reasons I don't quite understand), also necessary whenever you
use context.builder, which will give it's results as raw data.)

Hence my code looks like this:
  d = context.builder.BlipCreateChild(blip.GetWaveId(), blip.GetWaveletId(),
blip.GetId())
  context.AddBlip(d)
  d = context.GetBlipById(d['blipId'])

 - Stephen
On Wed, Feb 3, 2010 at 10:27 AM, kyprizel <[email protected]> wrote:

> Trying to store waves id and then add data to the wave after getting
> notices from another wave:
>
> old_wave = context.GetWaveById(wave_id=waveid)
> old_wave always returns None, I think b/c context is based on another
> wave.
> how can i access another wave from the current context? or should i
> use cron?
>
> Thank you.
>
> --
> 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]<google-wave-api%[email protected]>
> .
> 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 [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