previous | index | next

Panels

Creating HTML tables by hand is tedious and error-prone.

h:panelGrid generates a table element automatically.

Basic form (using example of 3 columns):

     <h:panelGrid columns="3">
        ...
     </h:panelGrid>

Components in the body are laid out in columns from left to right and top to bottom.

See table on pp. 163-64 for h:panelGrid attributes.

You can specify CSS classes for different table parts (header, footer, rows, columns).


previous | index | next