Question : Setting height of a maximized Weblogic Portlet

I am developing against Weblogic 8.1 with Weblogic Workshop.

I have a book page with two portlets on it, in a single column. Each portlet takes up 400 px, and the whole page is 800px in height. The user is allowed to maximize either portlet.

When I click the Maximize button on a portlet, the page is redrawn with only that portlet showing. The portlet's width expands to fill the entire page, but the portlet's height is still constrained to 400 px. I would like the portlet to be smart enough to manage its own height, just like it does with the width.

I have tried experimenting with CSS tags (overflow, height, etc) and providing them as the Presentation Style of the portlet, but these CSS style attributes are applied in both the NORMAL and MAXIMIZED states of the Portlet.

Is there a way to assign a fixed height of a Weblogic portlet in NORMAL mode, but allow it to fill all available space in MAXIMIZED mode?

Thanks for any help.

Answer : Setting height of a maximized Weblogic Portlet

PAQed with no points refunded (of 250)

GranMod
Community Support Moderator
Random Solutions  
 
programming4us programming4us