You probably will have to register the
opensocial.data.DataContext.putDataSet method as an rpc method on the gadget
side and then use rpc to push the data from the container (similar to the
current implementation of a security token update (auth-refresh)).

Cheers

Bastian

2011/2/10 Ryan J Baxter <[email protected]>

> I would like to be able to set something in a gadgets data context object
> from the container.  The feature only provides the javascript API to the
> gadget, which makes sense.  It looks as though things are inserted into
> the data context object by injecting the javascript to do so when the
> gadget is rendered.  Looks like PipelineDataGadgetRewriter.java does this.
>  Does anyone know is its possible to manipulate a gadget's data context
> object from the container?  At the moment it does not look like it is.
>
> -Ryan
>
> Email: [email protected]
> Phone: 978-899-3041
> developerWorks Profile
>
>

Reply via email to