Hi Atarno -

In the first bit of code, you never set the data document, so I would
expect it to be null. Why were you expecting it to give a value?
(Maybe I'm missing something).

- pamela

On Dec 17, 8:45 am, atarno <[email protected]> wrote:
> hey all,
>
> i've noticed that when i run the following:
>
> wavelet.appendBlip("ID") ;
> String id = wavelet.getDataDocument("ID");
>
> id is null.
>
> but when i do this:
>
> Blip initBlip = wavelet.appendBlip();
> wavelet.setDataDocument("ID", initBlip.getBlipId());
> String id = wavelet.getDataDocument("ID");
>
> id gets the expected value of newly created blip id.
>
> should not the two pieces of code above return the same value of id?
>
> thanks.

--

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