Ram,
Thanks for your reply... I'm running Java version but the problem is similar
to what you described, I'll try editing samplecontainer.js!

If that doesn't work maybe I can try running the war in ROOT context...

Regards

On Wed, Jul 22, 2009 at 3:27 AM, Ram Sharma <[email protected]> wrote:

> Hi Fernandez,
>
> Can you please tell us which Shindig you are using? If you are using PHP
> Shindig and virtual host is not set then probably you need to edit
> gadgets.js file in /javascript/samplecontainer/samplecontainer.js
>
> and change following
> sendRequestToServer("/gadgets/metadata", "POST",
>        gadgets.json.stringify(request), opt_callback, true);
>
> with
>
> sendRequestToServer("your/shindig/web_prefix/gadgets/metadata", "POST",
>        gadgets.json.stringify(request), opt_callback, true);
>
> I think it should work. Please let me know if it does not or I may be
> completely wrong :-)
>
>
> On Wed, Jul 22, 2009 at 1:15 AM, pablo fernandez <
> [email protected]
> > wrote:
>
> > Hi,
> >
> > I downloaded shindig but when running the samplecontainer.html page it
> does
> > not render the helloworld.xml gadget...
> >
> > Debugging it reaches the RPCServlet, called by requestGadgetMetadata, but
> > it
> > throws an exception because the 'req' parameter is undefined. Then
> > "generateGadgets" on the js file fails because metadata is undefined.
> >
> > Any ideas why this happens?
> >
> > Thanks
> >
> > --
> > Fernandez, Pablo.
> >
>
>
>
> --
> Ram Sharma
> Impetus Infotech (India) Pvt Ltd.
>



-- 
Fernandez, Pablo.

Reply via email to