Do not have the common container on the shindig 2 release, so I did checkout 
from trunk (3.0 snapshot) and tried the example, the close function it's not 
implemented in the common container.



Sent from my iPhone

On 08/12/2010, at 02:17, Han Nguyen <[email protected]> wrote:

> Maxwell, look in content/samplecontainer/commoncontainer/ for a simple 
> sample built on JQuery and the new common container APIs Michael 
> mentioned. We're currently working on navigate to views for that containe, 
> feel free jump in and add your samples there.
> 
> Michael, I'm not sure if I have the right setup for calling 
> navigateGadget() to navigate from home/default to a different view. 
> NavigateGadget to canvas code below currently doesn't change the view nor 
> throw any error. 
> What are possible settings for "renderParams" to navigateGadget to canvas 
> view? Thanks for any pointer on this.
>   ...
>   viewParms[shindig.container.ContainerRender.VIEW] = "canvas";
>   //get gadgetSite
>   //get gadgetSpec
>   CommonContainer.navigateGadget(gadgetSite, gadgetSpec, viewParms, 
> renderParms);//CommonContainer is shindig.container.Container
> 
> 
> 
> 
> From:   Michael Hermanto <[email protected]>
> To:     [email protected]
> Date:   12/07/2010 09:29 PM
> Subject:        Re: Removing a gadget from container.
> 
> 
> 
> Aside, presumably, this is the old features/shindig.container, and not
> features/container (common container). In the later, we have closeGadget()
> in addition to navigateGadget().
> 
> On Tue, Dec 7, 2010 at 6:02 PM, Maxwell <[email protected]> wrote:
> 
>> 
>> Is there a way similar to method, shindig.container.addGadget to remove
>> gadgets?
>> 
>> I am doing with jquery delete() right now, but a method in contained 
> would
>> be better.
>> 
>> Cheers
>> Maxwell.
>> 
>> Sent from my iPhone
> 

Reply via email to