Chris,

In the java api gadget.setField(key, value) does the trick. You can
then read the field with wave.State().get(key) in the gadget.

see 
http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/Gadget.html
and http://code.google.com/apis/wave/extensions/gadgets/reference.html

-Peter

On Oct 18, 9:20 pm, Chris Searle <chrisdsea...@gmail.com> wrote:
> If you have a robot add a gadget to a wave (adding a document.Gadget  
> to the blip document) - is there a way to initialize the state of the  
> gadget? For example - if the robot has found enough information in the  
> blip text itself - it would be nice to just use it instead of  
> presenting the user with the form that is used when no state is present.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to