WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Changes to portal JSPs

WebSphere Portal Version 4.1 supported a two-level hierarchy (places, or pageGroups, and pages). In V4.1, theme JSPs (Navigation.jsp, Banner.jsp) provided navigation for places and pages. JSP developers could customize the theme and skin JSPs by using the <wps:page/> and <wps:pageGroup/> tags.

WebSphere Portal Version 4.2 introduced multilevel navigation, in which users and administrators could create pages that are nested within other pages. Themes developed for V4.1 do not provide navigation to nested nodes that were introduced in V4.2. The <wps:navigation/> tag was added to allow JSP developers to make use of the new hierarchy. The original <wps:page/> and <wps:pageGroup/> tags remained in V4.2 for compatibility reasons. By default in V4.2, if nested nodes exist for a user, a navigation column provides complete access to all nodes not accessible from the theme. This navigation column is created by LayeredContainer-V.jsp in the /skins directory. A Java scriptlet that invoked the Composition Model API was used to implement the nested navigation tree in LayeredContainer-V.jsp.

More changes were introduced in the organization for V5.0. The representation of places or pagegroups was removed entirely. Also, a new enhanced Object Model API replaced the Composition Model API for use in the navigation tree. Developers who used the Composition Model API in V4.2 should read Migrating from the V4.2 Composition Model API to the V5.0 Object Model, available at http://www.ibm.com/support/docview.wss?uid=swg27004260. You can also manipulate the appearance of the navigation tree by making changes to the images, colors, and other style settings that are used by the layered container.

WebSphere Portal V5.1 included several major changes. Portal JSPs should use the portal.tld tag library instead of the engine.tld tag library. The engine.tld tag library is still available, but only for backward compatibility prior to migration.

See Designing to get a better understanding of how the page is constructed for this release of WebSphere Portal.

 

Updates to engine tags

The following tags, deprecated in WebSphere Portal Version 4.2, were removed in WebSphere Portal Versions 5.0 and 5.1:

The <wps:URLSelect> tag, introduced in WebSphere Portal V4.2, was deprecated and replaced by the <URLGeneration/> tag in Version 5.1.

The following tags were added in WebSphere Portal Versions 5.0 and 5.1:

The following tags were changed in WebSphere Portal Version 5.0:

Starting with WebSphere Portal Version 5.1, skins are rendered using the <wps:pageRender/> tag from the portal.tld tag library. This is in contrast to the <wps:compositionRender/> tag defined in the V5.0 engine.tld tag library. Skins called from the <wps:pageRender/> tag do not include the portal navigation tree. In WebSphere Portal Version 5.1, all navigation is handled by the theme JSPs.

The following table lists the tags of the engine.tld tag library and the replacements from the portal.tld tag library.

Tags from engine tag library Replacements in the portal tag library
<compositionRender/> <pageRender/>, but no corresponding attributes are available
<wps:captureContent/> none
<wps:componentRender/> <wps:layoutNodeRender/>
<wps:date/> use JSTL equivalent
<wps:time/> use JSTL equivalent
<wps:text/> use JSTL equivalent
<wps:popupMenu/> moved to portal-wml.tld tag library
<wps:popupMenuItem/> moved to portal-wml.tld tag library
<wps:popupMenuParam/> moved to portal-wml.tld tag library
<wps:popupMenuTemplate/> moved to portal-wml.tld tag library
<wps:urlGeneration/> Same tag, but pacCheck attribute deprecated and replaced by accessControlCheck
<wps:width/> no direct replacement, although <wps:layoutNodeProperty propertyName="width"/> could be used

The following new tags are introduced in the portal.tld tag library for WebSphere Portal Version 5.1.

 

Compatibility between tag libraries

During migration, it is possible to mix the use of tags from the engine tag library and the portal tag library in your themes, screens, and skins.

In the case that you have custom themes and skins that include some of the common JSPs provided by WebSphere Portal Express, you need to use both tag libraries in the following circumstances.

Even though JSPs from different tag libraries can be mixed, this is only to support backward compatibility during migration. New themes, screens, and skins should be developed using the <wps:pageRender/> tag and the portal.tld.

 

Parent topic:

Portal design reference