Rohitha, these are the issues I have encountered...

1. Although I used width="100%" and height="100%" in the SWFObject
parameters (hence embed tag's parameters) the swf goes beyond the size of
the iframe, clipping a portion of the gadget.

2. To overcome this, with tyrell's input, I have used the dynamic height
feature in the gadget.xml. Since width="100%" and height="100%" didn't work
as expected, I changed the height of the SWFObject to 300px. It made the
gadget to function properly in normal/default mode.

3. But, when I maximized the gadget (a.k.a canvas mode), we are not using
the available height, since we are using the height as 300px. I am not sure
we can use javascript to change the height according to the mode, since
dynamic height feature does not like it. :-). It seems dynamic height
feature needs a static value for the height. I know that shouldn't be the
case, but that was what i encountered during few rounds of testing, please
check.

I believe there are two solutions for this.

i). Fix the clipping issue explained in 1. And check whether it works for
canvas mode as well.
ii) Provide the "views" support in our dashboard. So I can place different
parameters for different modes (normal/home/canvas etc..)

Ideas please..

regards,

Janapriya.



On Tue, Nov 10, 2009 at 11:20 AM, Rohitha Fernando <[email protected]> wrote:

> Ok, I will talk to Janapriya and do the needful.
>
> Samisa Abeysinghe wrote:
> >
> >
> > On Tue, Nov 10, 2009 at 8:45 AM, Tyrell Perera <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Rohitha,
> >
> >     In embedded mode we need to fix the height of the Tab containing
> >     Gadgets. This works perfectly in GS. Can you fix embedded mode as
> >     well?
> >
> >
> >     Use BAM build to verify the fix.
> >
> >
> > Yes, this will be great feature to have. Right now, the great Gadgets
> > look helpless in maximized mode. When I saw it wihout gadget, it was
> > looking very nice. You can talk to Japi to see how it is seen in real
> > life.
> >
> > Samisa...
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Ruwan Janapriya
Technical Lead - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to