GadgetContext is an object encapsulating various generally per-request state
for a given operation supported by Shindig.

In the context of JsServlet, c=1 indicates whether the JS is being loaded in
"c"ontainer (c=1) or in a gadget itself (c=0 or <missing>).

This in turn correlates to JavaScript specified in feature.xml files in the
<container> or <gadget> sections, respectively.

--j

On Wed, Jul 21, 2010 at 4:29 AM, Justin Wyllie
<[email protected]>wrote:

>
> Hello
> On this line:
>
> http://localhost:86/gadgets/js/shindig-container:rpc.js?c=0&debug=1&nocache=1
> the 'c' which is either 1 or 0 is used as a variable isGadgetContext in
> JsServlet and passed on to the included features.
> What is gadgetContext? When would I set it to 1 and when to 0?
> With thanks
> Justin Wyllie
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/197222280/direct/01/
> Do you have a story that started on Hotmail? Tell us now
>

Reply via email to