Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Creating a Panel Grid by Binding Rows


In this section we will create a panel grid by binding rows to the panel grid. First, we will create an empty panel grid by specifying the number of columns in the panel grid. Subsequently, we will add JSF UI components to the empty panel grid from the JSF HTML Component Palette. The components added to an empty panel grid automatically get added in the specified number of columns. To create a JSF panel grid, only the number of columns needs to be specified.

In this section, we will generate a panel grid of output labels, an input text field, output text fields, and command buttons. We will add a panel grid to a JSF page and add UI components from the Component Palette to the panel grid. We will create a panel grid from the fields of a journal catalog. The example journal catalog in the Catalog table has catalog id, journal, publisher, edition, title, author and url href fields. In the JSF application, the values for the various output text fields are...