portlet
Tag resourceURL
-
- Description:
-
Creates a URL that points to the current portlet and triggers a resource request with the supplied parameters. If the
varattribute is present, theportlet:resourceURLtag introduces an EL variable that contains ajavax.portlet.ResourceURLadequate for obtaining resources. Otherwise, the URL is written to the response.
-
- Since:
- 3.2.5-ga6
| Info | Value |
|---|---|
| Component Type | com.liferay.faces.portlet.component.resourceurl.ResourceURL |
| Handler Class | None |
| Renderer Type | com.liferay.faces.portlet.component.resourceurl.ResourceURLRenderer |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
cacheability | false | javax.el.ValueExpression
(must evaluate to java.lang.String)
| The cacheability of the resource returned by the resourceURL. Valid values include ResourceURL.FULL, ResourceURL.PAGE, and ResourceURL.PORTLET. Defaults to ResourceURL.PAGE. |
escapeXml | false | javax.el.ValueExpression
(must evaluate to boolean)
| When true, xml special characters will be escaped. Defaults to true. |
id | false | javax.el.ValueExpression
(must evaluate to java.lang.String)
| The id for the resource. |
secure | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean)
| When true, the URL will be secure. Defaults to the security setting of the current request. |
var | false | javax.el.ValueExpression
(must evaluate to java.lang.String)
| Introduces an EL variable that contains the URL. |