Tags used by the portal JSPs

 

+
Search Tips   |   Advanced Search

 

This topic describes the most commonly used tags in the portal JSPs. Use these tags to modify the appearance and layout of the portal page.

The following links provide topics with summary descriptions of each tag - grouped by tag type. Each separate topic also provides more complete tag descriptions as well as code examples:

Do not use portal tags in portlet JSPs.. The tags mentioned are only for use in theme and skin JSPs.

<portal-core/> Provide portal core functionality such as entering the main render flow as well as URL-related aspects of the page.
<portal-dynamicui/> Enable dynamic user interface features such as closing dynamic portlets and pages.
<portal-fmt/> Provide enhanced portal formatting capabilities.
<portal-logic/> Provide conditional logic.
<portal-navigation/> Implement navigation tasks such as generating URLs and traversing the portal navigation model.
<portal-showtools/> Provide administrative tools on the theme and skin level.
<portal-skin/> Build a portlet title bar as well as make various functional icons available in the title bar.
<portal-theme-ext/> Provide extended functionality to enhance the portal themes.

These tags can be found in the portal tag library located in the IBM WebSphere Portal directory:

  • Windows:

    was_profile_root\profiles\profile\installedApps\cell\wps.ear\wps.war\WEB-INF\tld

  • UNIX:

    was_profile_root/profiles/profile/installedApps/cell/wps.ear/wps.war/WEB-INF/tld

  • i5/OS:

    app_server_root/profile/installedApps/cell/wps.ear/wps.war/WEB-INF/tld

To use these tags, the following taglib declarations must be provided in the parent JSP of the theme:

<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-navigation" prefix="portal-navigation" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-dynamicui" prefix="portal-dynamicui" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-logic" prefix="portal-logic" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-core" prefix="portal-core" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-fmt" prefix="portal-fmt" %>

The following taglib declarations must be provided to the parent JSP of the skin - in addition to the ones in the theme:

<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-skin" prefix="portal-skin" %>
<%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/portal-showtools" prefix="portal-showtools" %>

Notes:

  • The tags in the portal-internal.tld tag library are not intended for customization, but for use only by internal portal code.

  • The tags in the engine.tld and portal-internal.tld tag libraries are not intended for customization, but only to support backward compatibility and migration. The engine.tld tag library will not be available in subsequent releases of WebSphere Portal. See Migrating the customized resources for more information.

 

Related information