Transformer Tags
Tag url
This tag transforms URLs that should be gatewayed. If the URL in the pt:href
attribute is outside the gateway, it will be transformed to an absolute URL.
Note: This feature does not draw a link in HTML; it obtains
the URL as a string and passes it to a client-side function, as shown in the
following example.
Example:
<script>
function myFunction()
{
document.write("<pt:url pt:href="myURL" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>");
}
</script>
Tag Information |
Tag Name |
url |
Attributes |
Name |
Type |
Required |
Default Value |
Description |
href |
string |
true |
null |
URL that should be gatewayed. If the URL is outside the gateway, it will
be transformed to an absolute URL. |
Copyright 2005 Plumtree Software, Inc.