ALI Data Tags
Tag pagelink


This tag will display a link back to the current page or to the base URL of the current page (without the ?). The HTTP entry point portion of the link can be modified.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:ptdata.pagelink/>), rather than as a tag with both an open and close tag.

Example:
<pt:ptdata.pagelink pt:usebaseurl="true"/>
<pt:logic.value pt:value="$pagelink"/>
or
<pt:ptdata.pagelink pt:entrypoint="/portal/test.pt"/>
<pt:logic.value pt:value="$pagelink"/>


Tag Information
Tag Namepagelink

Attributes
NameTypeRequiredDefault ValueDescription
keystringfalsepagelinkThe key used to store the variable in memory.
scopestringfalseportlet requestThe scope used to store the variable. See the Logic Tag Library description for more details about valid scope arguments.
entrypointstringfalseN/AThe new HTTP entry point of the URL that will replace the main HTTP entry point (i.e. /portal/server.pt).
usebaseurlbooleanfalsefalseUse the normalized base URL of the current page, rather than the full URL. This will cause the query string, and any portion of the URL after the entry point (i.e. friendly URL sections) to be removed.


Copyright 2005 Plumtree Software, Inc.