Sub tags

A number of JSF tags have special child tags (sub tags) used to specify options.

The available sub tags are:

Components that are initially hidden on the palette are denoted by an asterisk (*) next to their name in the tables.

Table 1. Sub tags
Component Tag Name Description
Attribute <f:attribute> Adds an attribute (name/value pair) to a parent tag.
Convert Date/Time <f:convertDateTime> Convert a DateTime from a string to a value and vice versa.
Convert Date/Time (ICU4J) <hx:convertDateTime> Extension of the standard <f:convertDateTime> that uses ICU4J in it's implementation instead of the Java util classes.
Convert Masked String <f:convertMask> Convert a formatted (masked) string to a value and vice versa.
Convert Number <f:convertNumber> Convert a Number from a string to a value and vice versa.
Convert Number (ICU4J) <hx:convertNumber> Extension of the standard <f:convertNumber> that uses ICU4J in it's implementation instead of the Java util classes.
File Upload Property <hx:fileProp> Used as a subtag of hx:fileupload to hold properties of the uploaded file.
Facet <f:facet> Adds a sub-part to a complex component such as a data table.
*Parameter <f:param> Adds a parameter to a URL emitted by a parent tag.
Select Item <f:selectItem> Creates an item in a tag that contains options such as a combo box.
Select Items <f:selectItems> Creates a set of items in a tag that contains options such as a combo box.
Validate EL expression <hx:validateConstraint> Validate a value using an EL expression.
Validate Date/Time Range <hx:validateDateTimeRange> Validate that a date/time value is greater than and/or less than a bound.
Validate Regular Expression <hx:validateExpression> Validate a value using a regular expression.
Validate Modulus Self Check <hx:validateModulusSelfCheck> Validate a numeric value to see if it passes the Modulus self check algorithm.
*Verbatim <f:verbatim> Inserts a verbatim tag that lets you add HTML directly onto a Faces JSP page.
Related concepts
Asynchronous JavaScript and XML (AJAX) Components
JavaServer Faces (JSF) overview
JSF Widget Library (JWL)
Developing Web applications using JavaServer Faces (JSF)

Feedback