12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 11 ■ PAGES AND COMPONENTSTable 11-14. Grid and Table TagsTagDescriptionRepresents a set of repeating data that will be rendered in an HTML element.Renders a single column of data <strong>with</strong>in an component.Renders an HTML element.Is a container of components that can be embedded in an .Unlike , the tag does not use an underlying data model to render rowsof data. Rather, this component is a layout container that renders other JSF components in a grid of rowsand columns. You can specify how many columns are used to display the components, and the will determine how many rows are needed. The columns attribute is the number ofcolumns to render before starting a new row. For example, in the following code, the rendering will bethree columns and two rows (displaying rows first and then columns):If you want to combine several components into a single column, you can use an that will render its children as only one component. You can also define a header and a footer using thespecial tag.331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!