Alloy Showcase
alloy:dataTable
DataTable is a UIData (iterator) component that renders atable
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.
Server Events Usage
Specifying the f:ajax child tag with event=rowSelect
or rowDeselect
will broadcast the server-side RowSelectEvent or RowDeselectEvent respectively. Listening to the event is accomplished by specifying a backing-bean method via the f:ajax
listener attribute.
Specifying the f:ajax child tag with event=rowSelectRange
or rowDeselectRange
will broadcast the server-side RowSelectRangeEvent or RowDeselectRangeEvent respectively. Listening to the event is accomplished by specifying a backing-bean method via the f:ajax
listener attribute.
Source Code
Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20