Themes

 


+ Search Tips   |   Advanced Search

 


Overview

For most requests, the portal page is rendered starting with Default.jsp in...

$WAS_HOME/installedApps/hostname/wps.ear/wps.war/themes

The only exception is when the request has been modified by a newWindow="true" parameter. In this case, the page is rendered using Plain.jsp. Plain.jsp is normally used to render portlet help or for portlets that use the iFrame skin.

You can add your own elements to the HTML portal page and rearrange the layout by creating your own theme and changing the layout in Default.jsp and the JSPs that are included. The following sections illustrate the order and layout in which the portal page theme is built using the JSPs that are provided after installation.

  1. Head
  2. Toolbar
  3. Administration link bar
  4. Place bar
  5. Page bar
  6. Screen

 

Head

Head.jsp provides the necessary header information to correctly render the portal page. This file is used to link the style sheets and set the page title and the text direction.

 

Toolbar

The toolbar is rendered by ToolBarInclude.jsp and includes navigation to the My Portal and Administration pages. These links are built using the <wps:URLGeneration/> tag. This JSP also includes links for selecting the screen.

The banner in the toolbar is rendered by the wpsToolbarBannerBackground class in the style sheet.

 

Administration link bar

AdminLinkBarInclude.jsp provides context-sensitive links for the page. For the current node, the user can create a child page, edit the current node, or assign access permissions. These links are created using the <wps:URLGeneration/> tag.

Custom links created by<URLGeneration/>
New Page Edit Page Assign Permissions

Note: For themes that do not require the full functionality of the Administration link bar, you can selectively remove these links and realize better runtime performance.

 

Place bar

PlaceBarInclude.jsp creates level 2 navigation using <wps:navigationLoop/> and <wps:navigation/> tags and provides the drop-down list that is used to access bookmarked pages.

Tab scroll

icons

Unselected tabs Selected tab Favorites link
Previous Next  Welcome   Documents   News   My Work 

  

Because the place bar is the first occurrence of the <wps:navigation/> tag, the startLevel="2" attribute must be used to force the navigation to start with the level 2 nodes. The stopLevel="2" attribute is used to limit the navigation to level 2 nodes.

 

Page bar

PageBarInclude.jsp creates level 2 navigation using <wps:navigationLoop/> and <wps:navigation/> tags.

    E-mail   Productivity   Developers Area   

This is the second occurrence of the <wps:navigation/> tag. The startLevel attribute is not used, so navigation starts on the next level (3). The stopLevel="3" attribute is used to limit the navigation to level 3 nodes.

 

Screen

The selected screen is rendered by the <wps:screenRender/> tag.

 

See also