Paul -- reply below...

----- Original Message -----
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 8:30 AM
Subject: Re: Height of portlet


> John,
>
> John King wrote:
>
> > Hello --
> >
> > I have what I suspect is a very simple question but I haven't been able
to
> > find an answer in the documentation....
> >
> > How do I control the height of a portlet on the screen?  When my portal
is
> > configured with only one portlet, it is somehow limited to about 2-3
inches
> > high.  I would like it to occupy the entire space available.  I've tried
> > changing the controller and the control in the user's default.psml file
but
> > neither seems to have the desired effect.  Can someone tell me the magic
> > incantation?
>
>
> o Is their more then "2-3 inches" of content, i.e. is there content
missing?
>

No, there is no content missing - I'm using IFrame (see below) and it puts a
vertical scroll bar in whenever the content exceeds the 2 inches that is
alloted to the portlet.  No matter how large the content, the height of the
portlet never exceeds 2 inches.

> o I do not know what is meant by "I would like it to occupy the entire
> space available".  In general "space" is "occupied" by content, so add
> content :)
>

There are no other portlets set up in the layout so the space below the one
and only portlet is empty.  The browser (IE 6) takes up most of the screen
and the navigation bar on the left side of the screen is about 5 inches high
(so it is significantly larger than the portlet).

> The height of the content is dictated by many factors, including:
>   The height of the portlet's content.

The height of the content greatly exceeds the height of the portlet -- in
some cases it is just displaying a URL from some other site.

>   Height of portlets in the same row.

No other portlets in the same row.

>   Width of portlets in the same column.

No other portlets in the same column.

>   Current width of the browser window.

Browser is the width of the screen.

>   Type of browser.
>
IE 6.0

> Try setting "application=yes" in the portlet's registry entry.
>
I tried setting it to both 'yes' and 'true' (it was set to 'false')

> Jetspeed's IFrames may be worth looking at.
>

Actually, it is using IFrames on the suggestion of another posting in this
list -- I just tried setting the height to '700' and it now takes up most of
the available space.  I was setting the height of the IFrame to 100% -- I
would have thought that would do just what I want...

So I guess the question now becomes, why doesn't height="100%" take up all
the available space?  I am also setting the width to 100% and that seems to
work as expected.  The HTML 4.01 Specification says IFrames support "100%"
for height...

Any other ideas?

Thanks in advance,
John King




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to