Link to a document within the application using standard output link component and renderer.
The main purpose of this tag is to provide restful (bookmarkable) navigation inside documents.
All usual output link attributes are accepted except value. Sub tags "f:param" are taken into account to build the corresponding DocumentView and URL. Value is replaced a method binding that generates the correct rest URL.
Attributes |
Name | Required | Request-time | Type | Description |
document | true | false | org.nuxeo.ecm.core.api.DocumentModel | The document model to link to |
view | false | false | java.lang.String | View id of the document to display when redirecting to it. This is the view configured in the document type definition. |
tab | false | false | java.lang.String | The tab identifier to display as view of the document. |
subTab | false | false | java.lang.String | The sub tab identifier to display as sub view of the document. |
tabsIds | false | false | java.lang.String | The list of tab ids to select as current tab actions. List is encoded as a String separated by the comma ',' character, and each each action information looks like: CATEGORY:ACTION_ID[:OPTIONAL_SUB_ACTION_ID[:OPTIONAL_SUB_ACTION_ID]...]If category is omitted or empty, the category {@link #DEFAULT_TABS_CATEGORY} will be used (if there is no subtab information).If no action id is given, the corresponding category is reset (for instance using 'CATEGORY:').If the action information is '*:', all categories will be reset.The resulting string looks like: CATEGORY_1:ACTION_ID_1,CATEGORY_2:ACTION_ID_2_SUB_ACTION_ID_2,... |
pattern | false | false | java.lang.String | The pattern name to use to generate the url (according to the url service configuration). |
newConversation | false | false | java.lang.String | Boolean stating if page should be opened in a new conversation. If set to, no conversation information will be added to the URL so that a new conversation is created. Defaults to false. |
addTabInFo | false | false | java.lang.String | Boolean stating if the default tab information should be added to the generated URL. Default tab information is used to reset current tab value. |
var | false | false | java.lang.String | String used as variable name to expose the built URL when using attribute resolveOnly set to true. Available since 5.7. |
resolveOnly | false | false | java.lang.String | Boolean used to state that the built URL should be exposed in the context (using the "var" attribute value) instead of displaying the resulting link. This is useful to benefit from the tag features when building complex document URLs. Defaults to false, available since 5.7. |