Panels

Panels
  • Using h:panelGrid – generates the HTML table.
  • You can specify the number of columns with the column attribute.
  • Exa.  
  • The column attribute is not mandatory – so by default column to 1. 
  • We can place these columns from left to right and top to bottom.
  • You can specify CSS classes for different parts of the table: header, footer, rows, and columns.
  • The h:panelGrid often used with h:panelGroup, which groups two or more components so they are treated as one. 
  • Attributes for h:panelGrid
  • Exa.

  • Attributes for h:panelGroup

Example:
Step - 01: Create XHTML code.

Step - 02: Output

Thanks a lot for query or your valuable suggestions related to the topic.

Previous Post Next Post

Contact Form