Attributes |
Name | Required | Request-time | Type | Description |
baseUri | false | true | java.lang.String | Change the URI of the current request context to the provided value. This is useful if links to detail pages (e.g., ... href="<cms:link baseUri="...">${elem.filename}</cms:link>" ... ) have to be set in content that is loaded on demand via AJAX. Otherwise, in this use case the wrong or even no detail page may be found. |
locale | false | true | java.lang.String | The locale for which the link should be created. This has only influence, if you use the CmsLocalePrefixLinkSubstitutionHandler. The locale prefix will be added according to the given locale. If no locale is given, the locale of the current request context is used. |
detailPage | false | true | java.lang.String | Set this attribute to link to a specific detail page. |
type | false | true | java.lang.String | The type of link to generate. One of default, perma, online, server (uses default if not set). |
var | false | true | java.lang.String | The type of link to generate. One of default, perma, online, server (uses default if not set). |
scope | false | true | java.lang.String | The scope to use for the variable if the var attribute is used. One of (page|request|session|application). |