In your portal applications you most of the time will need to link in your portlets to other portal pages that reside on the same portal server. IBM Websphere Portal provides the appropriate JSP tags for linking to other portal pages. The tag library is defined in the beginning of the JSP as follows
Code:
<%@ taglib uri="/WEB-INF/tld/portal.tld" prefix="portal" %>
This tag library contains the tag <portal:urlGeneration > which tells portal to lookup fr the desired page using the provided Unique Name and if the page exists and the current user has access to it then render the JSP code that xists in the body of the tag
In the following code the portlet will render an anchor to the desired page
Code:
<portal:urlGeneration contentNode="[i]PAGE_UNIQUE_NAME[/i]"
layoutNode="[i]PAGE_UNIQUE_NAME[/i]"
portletWindowState="Normal"
pacCheck="NoCheck">
<a href="<%wpsURL.write(out);%>">
Link Text Here
</a>
</portal:urlGeneration>
Reference :
http://publib.boulder.ibm.com/infocente ... _serv.html