Yup, it works flawlesly now. Thanks Chris/Kevin :)

On Wed, Jun 4, 2008 at 10:56 PM, Chris Chabot <[EMAIL PROTECTED]> wrote:
> I've always been a big fan of virtual hosts combined with some /etc/hosts
> (or c:\windows\system32\drivers\etc\hosts) file editing.
>
> ps, gadget.setServerBase() only works when you render the gadgets using the
> javascript layout manager and you included it's javascript files (that is,
> on the container side), like you would see in the
> javascript/container/sample*.html files, and when we say 'gadget.' we mean
> the gadget var one you just created using var gadget =
> gadgets.container.createGadget(...);
>
> Live example:
> http://shindig.us.chabotc.com/gadgets/files/container/sample1.html
>
> Might be easiest to take that structure as a staring point, add your
> .setServerBase() to each created gadget like:
>  var gadget0 = gadgets.container.createGadget({specUrl: specUrl0});
>  gadget0.setServerBase('http://localhost/');
>  var gadget1 = gadgets.container.createGadget({specUrl: specUrl1});
>  gadget1.setServerBase('http://localhost');
>
> Hope that helps :)
>
>        -- Chris
>
> On Jun 4, 2008, at 6:38 PM, Bipin Upadhyay wrote:
>
>> Currently, we are preparing just a demo, hence using 'same system,
>> separate ports'.
>
>



-- 
I'd love to change the world,
but they won't gimme the source code.
http://projectbee.org/

Reply via email to