You can use gadgets.rpc.call to call from the container to the gadget
and gadgets.rpc.register to register a function to handle the call.
There is a good example in the selection feature [1] [2].

[1] 
https://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/selection/selection.js
[2] 
https://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/selection/selection_container.js

On Tue, Mar 4, 2014 at 3:28 PM, Wade Girard <[email protected]> wrote:
> I think I'm missing something... how does the gadget get notified of 
> something from the container?
>
> Asked a different way, how can I have the container call a method in the 
> gadget?
>
> Thanks
> --
> Wade Girard | Principal Software Engineer
> Calabrio, Inc. | 400 1st Avenue N, Ste 300 | Minneapolis, MN 55401
> Phone: 763.795.7798

Reply via email to