...
Add a Smart Template to you page
- Ensure you have checked the option
- Then inside the Smart Template you can put something like
Then in URL you can do the following
Code Block https://wiki.vertuna.com/display/ST/Using+request+parameters+with+Smart+Templates?name=John
And this is the result
- To sum up - variables from request (URL) can be used within the Smart Template and their names are prefixed with "req". A variable "name" from URL becomes a "${reqname}" in a template
ConfiTemplates Smart Template
applyRequestParams | true |
---|
Hello ${reqname}