Sample Applications

An ADF Faces ProgressIndicator Example for File Upload

Friday, 13 April 2007

This post demonstrates how an ADF Faces ProgressIndicator can be used to display the progress of a file upload.

The sample application is built in JDeveloper 10.1.3.2. You can download the sample workspace from here. The workspace does not need a database connection to run.You can download the workspace from here.

Posting details ...


A Custom ShowDetailFrame that does not require a WebCenter License

Wednesday, 4 April 2007

This post demonstrates a custom showDetailFrame that is built using regular ADF Faces components. Hence no additional license is needed to use it. (You need a WebCenter license if you use the new showDetailFrame component. The issue is explained in this OTN thread )

The sample application is built in 10.1.3.2. It does not require a database connection to run. You can download the workspace from here.

Posting details ...


A Programmatic SelectOneChoice Example

Friday, 14 March 2007

This sample application demonstrates how to add/delete selectitems in a selectOneChoice component programmatically. The sample application does not need a database connection to run.

The application displays a list box and an input field. The user can add new items to the list box by typing a new value to the input field and clicking the "Add Item to List" button. Pressing the "Remove Selected Item From List" button will remove the current selected value from the list box.

Posting details ...


Online Diagram Drawing

Friday, 2 March 2007

This post demonstrates a simple online diagramming tool developed with FLEX. You can download the FLEX Project from here »

FLEX and other RIA technologies such as Laszlo enable us to develop online diagramming /drawing tools that are just as rich as their desktop counterparts.

Currently, we are building an online survey tool that lets its users specify the flow of a survey in a diagram.

Posting details ...


Filtering Nodes in an ADF Faces Tree Component

Wednesday, 28 February 2007

This post describes a method to filter nodes in an ADF Faces Tree. You can download the sample application from here. The application is developed in JDeveloper 10.1.3.2.0 and requires a connection to the HR schema.

In the sample application, Regions are the root nodes of the tree. Countries appear as child nodes under the Region they belong. Each Region node in the tree has an inputText component. The value entered into the inputText is used to filter the countries in the Region

Posting details ...


Using Flex in ADF / JSF Applications

Saturday, 3 February 2007

JDeveloper 11g is going to introduce JSF components with built-in rich client capabilities. However 11g is not out yet. This does not mean that you cannot incorporate rich client components to your application today. One of the alternatives is to embed FLEX components into ADF/JSF applications. (FLEX is a Rich Internet Application technology developed by Adobe) In this post we are going to demonstrate how to achieve this.

The sample application is fairly straightforward. It contains two input boxes, and two buttons. One of the input boxes is implemented in JSF and the other in FLEX. The application which is a JDeveloper 10.1.3.1 workspace, demonstrates how these two components can pass information to each other. Communication between the two technologies is a critical requirement if both technologies are used in the same application. There are two buttons on the screen to start the communication between the two input boxes. The "from JSF to FLEX" button assigns the value of the JSF Component to its FLEX counterpart, and the "from FLEX to JSF" button does the opposite.

You can download the sample application from here. As mentioned above, the application is a JDeveloper 10.1.3.1 workspace. It does not need a database connection to run.

You can download the FLEX InputBox project from here. You need FLEX Builder 2 to open it.

Posting details ...


ADF Faces Tree Component Example

Monday, 15 January 2007

There are a number of questions on OTN regarding the Tree Component. We hope this post will be helpful in answering some of them.

The sample application contains four simple examples on how to use the ADF Faces tree component;

1) How to set the focus of the tree to the node that is clicked.

2) How to detect the type of the node that is clicked.

3) How to use the polymorphic restriction functionality.

4) How to change the tree state in a managed bean.

You can download the sample application from here. The application is developed in JDeveloper 10.1.3.1.0 and uses the HR schema.

Posting details ...