Re: Gaget's requestNavigateTo and Containers navigateGadget

2012-10-03 Thread Ryan Baxter
Brian it might be a good thing to add to the sample container. If you feel up to it contribute a patch for it ;) -Ryan On Tue, Oct 2, 2012 at 3:19 PM, daviesd wrote: > Here's what we do. > > container.rpcRegister("requestNavigateTo", function > requestNavigateTo(rpcArgs, view, params) { >

Re: Gaget's requestNavigateTo and Containers navigateGadget

2012-10-02 Thread daviesd
Here's what we do. container.rpcRegister("requestNavigateTo", function requestNavigateTo(rpcArgs, view, params) { var site = rpcArgs[osapi.container.GadgetSite.RPC_ARG_KEY], url = site.getActiveSiteHolder().getUrl(), renderParams = {}; renderParams[osa

Gaget's requestNavigateTo and Containers navigateGadget

2012-10-02 Thread baumanbr
I am trying to create a custom container based on Shindig and am a bit confused on the relationship between a gadget calling 'requestNavigateTo' and the container function 'navigateGadget'. I am trying to implement the rpc callback for requestNavigateTo as Shindig does not, and the only way I