Forum Stats

  • 3,851,932 Users
  • 2,264,052 Discussions
  • 7,904,908 Comments

Discussions

A couple of Workspace Studio questions

649572
649572 Member Posts: 6
edited Oct 11, 2008 12:00PM in WebLogic Portal
Hi All... I'm trying to put together a demo of our application being hosted inside of a WebLogic portal as a URL portlet. Two questions...

1) How can I adjust the height of the portlet to use up all of the available real estate on the browser? When I maximize the portlet, it pushes the other portlets out of the way, but the height of it remains to be only a couple of inches. I'd like it to take up as much of the screen as possible.

2) I'd also like to include a banner jpg in the header, but can't seem to figure out how to put anything in the header.

I'm using BEA Workspace Studio version 1.1.

Sorry, I'm a noobie, but I'd appreciate any help anyone can offer. Thanks. -- Curt

Best Answer

  • 648832
    648832 Member Posts: 88
    Hi Curt,

    1) Have a look at this doc for the answer: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/building.html#wp1073699

    2) Headers and Footers are handled by the portal's Shell. This document will explain a bit about how that works: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portals/develop_ui_lookfeel.html#wp1040473.

    There are a couple of different approaches that you can take:
    - You can put a portlet in your header, style the portlet with the "borderless" theme (gets rid of all the portlet decorations), and have the portlet's content serve up the image.
    - You can hard-code the image into the header.jsp file for your skeleton (probably at /framework/skeletons/bighorn/header.jsp), but then it applies to ALL portals that use the Bighorn look and feel.
    - You can probably use CSS to apply the image/some other styling to the "wlp-bighorn-header" CSS class. That styling would go in your skin.

    It's not as hard as I'm making it sound! Read that doc a bit and dig around in the Look and Feel files, and you'll see what I'm talking about.

    Hope that helps,

    George

Answers

  • 648832
    648832 Member Posts: 88
    Hi Curt,

    1) Have a look at this doc for the answer: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/building.html#wp1073699

    2) Headers and Footers are handled by the portal's Shell. This document will explain a bit about how that works: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portals/develop_ui_lookfeel.html#wp1040473.

    There are a couple of different approaches that you can take:
    - You can put a portlet in your header, style the portlet with the "borderless" theme (gets rid of all the portlet decorations), and have the portlet's content serve up the image.
    - You can hard-code the image into the header.jsp file for your skeleton (probably at /framework/skeletons/bighorn/header.jsp), but then it applies to ALL portals that use the Bighorn look and feel.
    - You can probably use CSS to apply the image/some other styling to the "wlp-bighorn-header" CSS class. That styling would go in your skin.

    It's not as hard as I'm making it sound! Read that doc a bit and dig around in the Look and Feel files, and you'll see what I'm talking about.

    Hope that helps,

    George
  • 649572
    649572 Member Posts: 6
    Hi George,

    Thanks for the reply and for the tips - they worked like a charm!

    Curt
This discussion has been closed.