Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 627
  • Last Modified:

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.
0
buri
Asked:
buri
  • 2
1 Solution
 
sompol_kiatkamolchaiCommented:
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.
Sompol
0
 
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.

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

GranMod
Community Support Moderator
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now