Using Liferay Util Get URL
The get URL tag scrapes the URL provided by the url
attribute. If a value is provided for the var
attribute, the content from the screen scrape is scoped to that variable. Otherwise, the scraped content is displayed where the taglib is used.
A basic configuration for the <liferay-util:get-url>
tag is shown below:
Here is an example that uses the var
attribute:
Now you know how to use the <liferay-util:get-url>
tag to scrape URLs.