| nxd |
The NXWebPlatform taglib specific to NXCore document model features. Exposes specific tags as well as utility functions like:
- typeInfo(DocumentModel): retrieve the document type information as decribed in the TypeService extension point.
- typeLabel(DocumentModel): retrieve the document type label.
- iconPath(DocumentModel): retrieve the document icon path from "common" schema", defaults to its document type icon if not set.
- iconExpandedPath(DocumentModel): retrieve the document icon-expanded path from "common" schema, defaults to its document type icon if not set.
- titleOrId(DocumentModel): retrieve the document title from "dublincore" schema, defaults to its identifier.
- hasPermission(DocumentModel, String): check if the current user has the specified permission on the document model.
- canModify(DocumentModel): check if the current user has the specified permission on the document model, and document model is not archived.
- defaultValue(String, String): get the default value for given schema name and field name: this is useful to set the "template" attribute of a nxu:inputList tag managing a document complew property.
- fileUrl(String, DocumentModel, String, String): get the rest url for a blob.
- documentUrl(DocumentModel): get the rest url for a document.
|