Alloy Showcase


DataTable is a UIData (iterator) component that renders a table element with tabular data and is designed to be used in conjunction with alloy:column child component tags. Since it extends HtmlDataTable, it supports all the features of h:dataTable.

General Usage

The value attribute tag must be bound via EL to a model bean property (which is wrapped implicitly by JSF with a DataModel). The var attribute is used to introduce a variable name into the EL when iterating over the model.
First NameLast NameDate of BirthCountry
JohnAdamsNov 30, 1735United States
SamuelAdamsOct 27, 1722United States
JosiahBartlettDec 21, 1729United States
CarterBraxtonOct 16, 1736United States
CharlesCarrollOct 19, 1737United States
BenjaminFranklinFeb 17, 1706United States
ElbridgeGerryMar 03, 1701United States
JohnHancockFeb 23, 1737United States
ThomasJeffersonMay 13, 1743United States
FrancisLewisApr 21, 1713United States

Source Code

Liferay Faces Alloy 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.17