You need to edit your container.js to define the correct url mapping for
your canvas page.  Here's the default:

    "canvas" : {
      "isOnlyVisible" : true,
      "urlTemplate" : "http://localhost/gadgets/canvas?{var}";,
      "aliases" : ["FULL_PAGE"]
    }


On Tue, May 25, 2010 at 3:13 AM, Justin Wyllie
<[email protected]>wrote:

>
> Hi
>
> Sorry about the last post; escaped too soon.
>
> I have a gadget which has a button to navigate to its canvas view. The code
> is this:
>
>   function goToView() {
>      var supported_views = gadgets.views.getSupportedViews();
>      gadgets.views.requestNavigateTo(supported_views['canvas']);
>    };
>
>
>
> In iGoogle the gadget goes into canvas mode no problem.
>
> In my Shindig container the effect is to cause the container window to
> reload to the current domain then /canvas.
>
>
>
>
>
>
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/195013117/direct/01/
>

Reply via email to