Tag Library Documentation Generator - Generated Documentation

Tag Libraries
nxu

The NXWebPlatform (re)definition of basic tags.

Basic tags can be seen as useful tags which are still not really specific to the Nuxeo 5 framework.

Also exposes utility functions like:

  • test(Boolean, Object, Object): performs the java "if-then-else" operation.
  • join(String[], String): performs a join on given array using given separator.
  • userIsMemberOf(String): tests if the user belongs to the named group
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.
nxh

The NXWebPlatform taglib that encapsulates the usual jsf tags.

The point is to allow adding new features to existing tags without having to change too many templates. Only tags presenting a specific behaviour are described here.

New features:
  • The value attribute accepts not only values bindings, but also method bindings. This will invoke the method when trying to get the value. Setting the value is not possible. The parentheses are always required, to distinguish the value from a standard value binding (even if the method takes no parameters).
nxdir
NXDirectory tag library



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.