Faces Client Components

 

+
Search Tips   |   Advanced Search

 

After you have created a Dynamic Web Project in the Web perspective, create a new Faces JSP, for the Model, select "Basic with client-side data caching". Open the Faces Client Components drawer on the palette and drag a component onto the JSP.

All Faces Client Components require client data. To create Client Data...

  1. Create a data component in the Page Data view.

  2. Run...

    Client Data view | New | Client Data menu

You cannot drop a data component from the Data palette onto a Faces Client Component.

You can create client data from the following Page Data objects: JavaBeans, Relational Record List, Relational Record, and EGL records.

The following table shows the components available in the Faces Client Components drawer.

Faces Client Framework Component Description
Data Grid A table for displaying multiple records from a relational database or multiple items from a JavaBean array. It includes the following features:

  • Sort the Data Grid by columns by clicking on the column header (ascending or descending).

  • Insert page controls, for example, show next, previous, first, or last page.

  • Make the entire Data Grid or specific columns editable.

  • Include controls for adding new rows to the table or deleting existing ones.

  • Filter data displayed in the Data Grid.

Graph Presents data in a bar graph, pie chart, or line graph.

Macromedia Flash 7 or higher must be installed in the browser.

Tree View Creates a tree structure for displaying hierarchical data.
Web Service Retrieves data from an existing Web Service without refreshing the page.

Note that Macromedia Flash 7 or higher must be installed in the browser.

Faces Client data also works with most Faces Components.