<@td.urlParam>

The urlParam tag specifies a URL parameter that will be appended to tag-generated urls.

This tag contains the following attributes:

name
The parameter name
  • Required: true
  • Type: String
  • Default: none
value
The parameter value
  • Required: true
  • Type: String
  • Default: none

This tag is available for use inside the body of the following tags:

Example Usage:

<@td.pageUrl var="url" value="demo.ftl" >
    <@td.urlParam name="foo" value="bar" />
    <@td.urlParam name="baz" value="qux" />
</@td.pageUrl>
.
.
.
<a href=${url}>Custom Page With Params</a>

The value of url in the above example would point to the page generated by /pages/custom/demo.ftl and have a query string of ?foo=bar&baz=qux.