Tags used by the portal JSPs
Learn about 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/> tags - Used to provide portal core functionality such as entering the main render flow as well as URL-related aspects of the page.
- <portal-dynamicui/> tags - Used to enable dynamic user interface features such as closing dynamic portlets and pages.
- <portal-fmt/> tags - Used to provide enhanced portal formatting capabilities.
- <portal-logic/> tags - Used to provide conditional logic.
- <portal-navigation/> tags - Used to implement navigation tasks such as generating URLs and traversing the portal navigation model.
- <portal-showtools/> tags - Used to provide administrative tools on the theme and skin level.
- <portal-skin/> tags - Used to build a portlet title bar as well as make various functional icons available in the title bar.
- <portal-theme-ext/> tags - Used to provide extended functionality to enhance the portal themes. We can find the <portal-theme-ext> tags in the theme sample provided with WebSphere Portal.
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/v8.0/portal-navigation" prefix="portal-navigation" %> <%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8.0/portal-dynamicui" prefix="portal-dynamicui" %> <%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8.0/portal-logic" prefix="portal-logic" %> <%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8.0/portal-core" prefix="portal-core" %> <%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8.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/v8.0/portal-skin" prefix="portal-skin" %> <%@ taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v8.0/portal-showtools" prefix="portal-showtools" %>
- 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.
The tags in the engine.tld, engine_v2.tld, and portal.tld tag libraries are not intended for customization, but only to support backward compatibility and migration.
- <portal-core/> tags
The <portal-core/> tags are used to provide portal core functionality such as entering the main render flow as well as URL-related aspects of the page.- <portal-dynamicui/> tags
The <portal-dynamicui/> tags are used to enable dynamic user interface features such as closing dynamic portlets and pages.- <portal-fmt/> tags
The <portal-fmt/> tags are used to provide enhanced portal formatting capabilities.- <portal-logic/> tags
The <portal-logic/> tags are used to provide tags for conditional logic.- <portal-navigation/> tags
The <portal-navigation/> tags are used to implement navigation tasks such as generating URLs and traversing the portal navigation model.- <portal-showtools/> tags
The <portal-showtools/> tags are used to provide administrative tools on the theme and skin level.- <portal-skin/> tags
The <portal-skin/> tags are used to build a portlet title bar as well as make various functional icons available in the title bar.- <portal-theme-ext/> tags
The <portal-theme-ext/> tags are used to provide extended functionality to enhance portal themes.
Parent: Customize the theme