The robot will get run as a result of the callback from an event it is
registered for. As a result you will not receive any user context.
Probably the best way that I could think of to build what you are thinking
of would be as follows:
1. Each user has a Wave with just them and the Robot as participants
2. The robot can display gadgets and information relevant to each particular
user
3. Whenever any Wave is updated the Wave decides how all the User Waves
should be changed.
4. Unfortunatley you would see changes being made by the robot rather than
the person they were from.

Personally I see this as going a bit against the collaboration concepts of
Wave, where all users contribute to the same Wave, instead you what every
user to see something different?

Regards,
Zac Shenker


On Sun, Sep 6, 2009 at 10:26 PM, rja <[email protected]> wrote:

>
> Hi,
>
> So I'm trying to create a gadget, that's personalized for every user.
> Imagine a gadget version of Rosy Etta, where the text typed by one
> user in English, shows up in French for another user whose preferred
> language is French, and in German for yet another user.
>
> However, when exposing a dynamic XML (created in appengine) that pulls
> the current user's nickname using appengine's User service
> (com.google.appengine.api.users - I'm using Java), even though I'm
> logged into both my Google Account as well as my Wave sandbox, the
> "userService.getCurrentUser()" call always returns null.
>
> I'm guessing it might be because the gadget isn't requested directly
> by my browser, but the request is made by proxy via the Wave server.
>
> In any case, how would I customize the view of a component in the wave
> (whether gadget, or anything else) based on the user? Any ideas?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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