Basically you need a permanent storage that you manage on your own (not
provided by the API) to maintain the context data for each blip. That's
what I meant by your own datastore to keep track of the blip ids and
associated data. Take a look at the sample robot Stocky which has a
persistence laye
Keeping track of the IDs for "lookup?" I have been searching for a
method in the API which takes a blip ID as an argument and returns the
blip matching that ID but have been unable to find one. Am I missing
something? Please tell me how this can be done if possible because my
development has be
Thanks for the help!Now I've found a little workaround for the current issue
(I store the needed data in a DataDocument on a wavelet, which is written
when the first blip is created, and the robot can access it all the time),
but I'm tuned for the updates!
On Fri, Oct 23, 2009 at 8:55 AM, Austin C
So yes, when a blip is out of context you would have no way to retrieve its
document content from the event callback alone. What can you do now is
maintain the context on your own with a datastore backend. Essentially
keeping track of all wavelet and blip ids for lookup.
We know that this is not
Oh I see...So robot doesn't get the whole wavelet with all of the blips, but
the blip of the related event and it's parent.
Ok, but if I would like to access to the rootblip, and I get its id with
wavelet.getRootBlipId(), how can I request its content
(getDoucment().getText())? (wavelet.getRootBlip
Hi,
To get the root blip id in your scenario -
wave.appendBlip().getDocument().append(wavelet.getRootBlipId());
This would work because it does not require "context" of a grandparent blip.
The reason that you are getting exception is because the context associated
with an event callback only goe
Reply to myself and others: I think this is related to
http://code.google.com/p/google-wave-resources/issues/detail?id=200 .
2009/10/22 Bálint Kriván
> Hi!
> I have this little chunk of code:
>
> public void debug(RobotMessageBundle bundle, String msg)
>
> {
>
> List list = new ArrayList();
>