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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi buri,

It cannot be configured from portlet properties.
Please check jsp file. Is there any property of html tag that fix height of html.
The width is freely expanded because there is no property set by html tag.

You can test jsp in browser without portlet/portal framework and resize browser.

Or you paste source of html in browser here and I can help you analysis.

Hope this would help.
buriAuthor Commented:
The JSP is pure HTML and has no style attributes. The height is fixed at a particular size by the CSS stylesheet referenced in the MDR.portal file (for layout management when both portlets are sharing the space). I guess a better question might be, can I tell Weblogic to use stylesheet A (with fixed height) in the NORMAL state of the portlet but use stylesheet B (with no height parameters) in the MAXIMIZED state.

buriAuthor Commented:
Comment did not work. Please do not mark as accepted.
PAQed with no points refunded (of 250)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.