nxu


Standard Syntax:
     <%@ taglib prefix="nxu" uri="http://nuxeo.org/nxweb/util" %>

XML Syntax:
     <anyxmlelement xmlns:nxu="http://nuxeo.org/nxweb/util" />

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:

Tag Library Information
Display NameNone
Version1.0
Short Namenxu
URIhttp://nuxeo.org/nxweb/util
 

Tag Summary
methodResult

Facelet tag handler that exposes the result of a method binding as a variable.

This is helpful to avoid having to define a getter on a class to get some rendering info. This is comparable to f:param or ui:param tags, but using method bindings instead of value bindings.

WARNING: the method result should be Serializable.

Currently unstable: sometimes method invocation fails.

selectItems

Tag adapted from the EasySI package ( http://jsf-comp.sourceforge.net/components/easysi/index.html).

This tag allows to iterate on any kind of data and have control on the resulting selections values and labels.

It has been adapted to work with datamodel lists wrapped by Seam (when using the Datamodel annotation).

inputFile

Util tag to perform a complex file upload dealing with edition and deletion.

It only deals with NXCoreAPI blobs.

This tag uses a component that will handle its rendering using other existing components. It will present a radio menu with existing choices: upload a file, keep it (eventually change its filename), delete it, or do nothing. Choices will be presented automatically given values and tag attributes (is there a blob set, is there a filename, is the blob required, etc...).

It uses the nxu:outputFile related component rendering for the "keep" option and the tomahwak t:inputFileUpload tag for the "upload" option.

It is possible to use a facet named "download" to override the default "keep" option rendering (e.g the document download presentation).

validateFileSizeRegister an InputFileSizeValidator instance on the UIComponent associated with the closest parent UIComponent custom action.
validateFileMimetypeRegister an InputFileMimetypeValidator instance on the UIComponent associated with the closest parent UIComponent custom action.
outputFile

Util tag to perform a file rendering.

It only deals with NXCoreAPI blobs.

Display is an immediate link to the blob, with filename as link value if provided, together with the blob mimetype icon.

inputDateTimeCalendar with date and time chosing. Complete documentation can be found at ( http://www.dynarch.com/projects/calendar/)
editorHTML editor
inputList

Tag to perform complex editions over a list of items.

It only deals with lists or arrays of serializable objects.

This tags puts a model in the request which can be accessed to get information about each list item value.

dataListStandard tomahawk tag
dataTableStandard tomahawk tag
columnsStandard tomahawk tag
columnStandard tomahawk tag
inputDateStandard tomahawk tag
inputCalendarStandard tomahawk tag
scheduleStandard tomahawk tag
graphicImageStandard tomahawk tag
inputFileUploadStandard trinidad inputFile tag
selectOneRadioStandard tomahawk tag
radioStandard tomahawk tag
 


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