On Feb 1, 2008 1:33 AM, Arun Kumar <[EMAIL PROTECTED]> wrote:

> How to create our own container with Drag and drop, sortable support for
> gadgets?


That's beyond the scope of what Shindig is. You'd need to implement this
yourself -- it should  be pretty trivial if you use a stock UI library such
as dojo or YUI.


> Is there any such open source container?


Not that I'm aware of -- if there were, it wouldn't make a whole lot of
sense anyway since every site is different. One site might want an
iGoogle-like dashboard view but another might have a facebook-like profile
page. There's just no way to generalize that, which is why it's beyond the
scope of this project.

With <content type="url" href="xxxxxxxxxxx" />, How can I use dynamic height
> feature?


The type=url gadget has to source the javascript from the containing page.
This is actually a flaw in the spec in that it doesn't indicate how gadgets
are supposed to know what the host to fetch the javascript from when
inspecting the libs parameter. Existing type=url gadgets almost exclusively
have this hard coded to www.gmodules.com, which is what the iGoogle
documentation recommended. Until the spec addresses this issue there really
isn't a safe way to support type=url gadgets using Shindig, unless you've
written the gadgets yourself and are OK with them only running on your
specific container. The parent parameter could be used for this, but that's
only viable if using a whitelist of acceptable containers.

Reply via email to