On Thu, Jan 6, 2011 at 10:15 AM, Xandeco, Maxwell
<[email protected]>wrote:

>
> Hi,
>
> When javascript container is redering the gadget in the client, it checks
> if has the height property, eg. on the method getMainContent in
> shindig.IfrGadget, this method check if has the height and width property to
> set the gadget/iframe size, but this property is always "undefined", my
> gadgets do not get the size defined on ModulePrefs.
>
> How I can get this size and use to set iframe size?
>

Sounds like you're still using the old container code under
features/.../shindig.container. The new one is under features/.../container
(or features/.../shindig.container-1.0), and documented
here<https://cwiki.apache.org/confluence/display/SHINDIG/Common+Container>.
Try using the new one, since it (as Ryan pointed out), supports iframe
resizing. The old container JS (and its endpoint /gadgets/metadata) are not
modified when we introduced the one.

Reply via email to