Common Tags
Tag namespace


This tag allows you to define your own token (in the pt:token attribute), which is replaced with the portlet ID. Note: Valid values for the token must be in the ASCII range 0x21 to 0x7E, excluding "<". The scope of the token runs from the tag defining it to the end of the file; you cannot use a token prior to defining it. A second pt:common.namespace tag with a different token redefines it; two tokens cannot be defined at the same time.

Example:
<pt:common.namespace pt:token="$$TOKEN$$"/>
<a onclick="doStuff$$TOKEN$$();" href="#">do stuff</a>
<script>
function doStuff$$TOKEN$$() {
alert("hello");
}
</script>


Tag Information
Tag Namenamespace

Attributes
NameTypeRequiredDefault ValueDescription
tokenstringtruenullToken to be replaced with the portlet ID.


Copyright 2005 Plumtree Software, Inc.