nxd
Tag restDocumentLink


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.



Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
documenttruefalseorg.nuxeo.ecm.core.api.DocumentModelThe document model to link to
viewfalsefalsejava.lang.StringView id of the document to display when redirecting to it. This is the view configured in the document type definition.
tabfalsefalsejava.lang.StringThe tab identifier to display as view of the document.
subTabfalsefalsejava.lang.StringThe sub tab identifier to display as sub view of the document.
tabsIdsfalsefalsejava.lang.StringThe 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,...
patternfalsefalsejava.lang.StringThe pattern name to use to generate the url (according to the url service configuration).
newConversationfalsefalsejava.lang.StringBoolean 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.
addTabInFofalsefalsejava.lang.StringBoolean stating if the default tab information should be added to the generated URL. Default tab information is used to reset current tab value.
varfalsefalsejava.lang.StringString used as variable name to expose the built URL when using attribute resolveOnly set to true. Available since 5.7.
resolveOnlyfalsefalsejava.lang.StringBoolean 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.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.