h:panelGrid Element
Lines 17–26 define an h:panelGrid element for organizing elements in the page. This element inserts an XHTML table in the page. The h: prefix indicates that panelGrid is from the JSF HTML Tag Library. The columns attribute specifies the number of columns in the table. The elements between the h:panelGrid’s start tag (line 17) and end tag (line 26) are automatically placed into the table’s columns from left to right in the order they appear in the JSF page. When the number of elements in a row exceeds the number of columns, the h:panelGrid creates a new row. We use the h:panelGrid to control the positions of the h:graphicImage and h:inputText elements in the user information section of the page. In this case, there are eight ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access