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

Chapter 10. Creating a JSF Data Table

JavaServer Faces (JSF) provides a set of User Interface (UI) components that may be used to display database data in conjunction with the JDBC API. JDeveloper 10.1.3 edition supports the reference implementation of JSF 1.1_02. The JSF HTML tag library provides different User Interface components in the Component Palette for developing a web application. Data Table is a UI component, which represents a data collection in a table, in the JSF HTML component palette. The Data Table component may be used to display database data with a static or dynamically generated SQL query.

JDeveloper 10.1.3 provides a Create Data Table Wizard to create a JSF Data Table. In this chapter we will create a Data Table by binding the Data Table to a managed bean (MBean) in the Create Data Table Wizard and by binding the Data Table to a specified number of columns in the Create Data Table Wizard, and by subsequently creating a Data Table with the JSF API. The JSF class javax...