Which JSF component can be used to create tables?
-
HtmlPanelGroup
-
HtmlTable
-
UITable
-
HtmlPanelGrid
D
Correct answer
Explanation
HtmlPanelGrid is the JSF component used to create table-like layouts. It renders an HTML table element and arranges its children in a grid format with a specified number of columns. While the name contains 'Panel' rather than 'Table', this is the standard JSF component for tabular layout. HtmlPanelGroup groups components without creating table structure, and there is no HtmlTable or UITable component in standard JSF.