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.
Info | Value |
---|---|
Component Type |
org.nuxeo.ecm.platform.ui.web.component.document.RestDocumentLink
|
Handler Class |
org.nuxeo.ecm.platform.ui.web.tag.handler.GenericHtmlComponentHandler
|
Renderer Type |
org.nuxeo.ecm.platform.ui.web.component.document.RestDocumentLink
|
Description | None |
Name | Required | Type | Description |
---|---|---|---|
document | true | javax.el.ValueExpression
(must evaluate to org.nuxeo.ecm.core.api.DocumentModel )
| The document model to link to |
view | false | javax.el.ValueExpression
(must evaluate to 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 | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The tab identifier to display as view of the document. |
subTab | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The sub tab identifier to display as sub view of the document. |
tabsIds | false | javax.el.ValueExpression
(must evaluate to 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 | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The pattern name to use to generate the url (according to the url service configuration). |
newConversation | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| 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. |
baseURL | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| String stating the server base URL to use (http://localhost:8080/nuxeo for instance). Defaults to the current server page displaying the URL if not filled. |
addTabInFo | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| 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 | javax.el.ValueExpression
(must evaluate to 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 | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| 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. |
Output generated by Vdldoc View Declaration Language Documentation Generator.