Sunday, September 29, 2013

Retrieve selected value from selectOneChoice without writing a single line of code

While using selectOneChoice in the page to implement drop downs, it becomes very cumbersome to get the selected value from the list. One often has to write some lines of code in the managed bean to get the selected value from the drop down.


So in this post we will see how to get the selected value from the drop down list (af:seclectOneChoice) without writing a single line of code and without using any bean.

This uses the use of Variable Iterator which we discussed in the previous post.Variable Iterator in ADF to store values between requests


Friday, September 27, 2013

Variable Iterator in ADF to store values between requests

Variable Iterator is a powerful features provided by ADF which is being often not taken into consideration during implementation of Use Cases.

By Using Variable Iterator , variables can be saved between the requests and they can be refereed just by bindings name inside you beans. So using variables to store values between request is the way where variables can be accessed inside managed beans both having loose coupling between each other. You do not need to define a property(variable) inside a bean and bind it to the UI component.

So lets get started and see how we can use the power of Variable Iterator in ADF. We will be starting from the scratch and going step by step for clear understanding.

The application can be downloaded Here

Tuesday, September 24, 2013

Refreshing parent table on Closing Pop Up using returnListener : ADF

In this post we will see how to refresh parent table on adding a new row using a pop up.

So while creating a new row in the table component using pop up, after adding mandatory fields and pressing OK, the parent table is not refreshed to have the new row. Instead it shows a blank row. If you refresh the page then it shows the newly added row. We will fix this later in this post. Lets first dive in and create a basic sample app that will be used for this use case from scratch.

The application can be downloaded from here TableRefreshOnPopUp.zip

selectManyShuttle with prepolulated list : ADF

This post talks about how to use af:selectManyShuttle component. Not only how to use it, but to display already selected set of values as pre populated list out of complete list.


So shuttle component has two tags which are of importance. 

<af:selectManyShuttle value = "selected values" has value attribute which refers to selected values and inside this tag there is <f:selectItems  value="all values". This selectItems tag refers to complete set of list.

Wednesday, July 31, 2013

Contextual Events - Basic Step by Step : ADF

So contextual events is a powerful event/handler framework which is provided by Oracle ADF. This framework facilitates inter region communication. Contextual Events are used in following type of communication.


  • Region to Page Communication.
  • Page to Region Communication.
  • Region to Region Communication.

We will be implementing Region to Region communication.

Use Case 
We will be creating two regions one page. One region displays an employee form with a button named "fire event". Second region just has an output component. So when first name of an employee is changed and fire button is pressed, the changed value of first name of an employee is shown in second region.This is how first region communicated with second region.

So lets get started

Tuesday, July 16, 2013

Integrating OBIEE with Oracle WebCenter Spaces

This demonstrates how to integrate OBIEE reports with webcenter spaces.
The Pre-requisites are :-
  •  WC Spaces is already installed, configured and up and running  with Database – Universal  ontent Management – Enterprise Manager – WebCenter Spaces.
  • OBIEE is already installed, configured, and up and running Database – OBI Enterprise Edition.

After this there is a very nice documentation on the OTN. Follow each and every step and you can see OBIEE reports in your Webcenter Spaces pages.

Here is the link OBIEE-WC Integration.


Happy Learning !!

Friday, May 24, 2013

JHeadstart - Forms2ADF migration

This post will be showing how to install Jheadstart extension in jdev and how to use forms2adf generator tool which comes with Jheadstart to convert oracle forms to ADF Screens.

Below is the file consisting of Oracle forms ,Schema and Xml's converted from oracle forms which are used in this tutorial.

Tutorial Files Download

Install Oracle JHeadstart Using “Check for Updates”

Note: In order to install full version of Jheadstart having forms2adf generator tool, one must be connected to oracle intranet while performing following steps.
Oracle JHeadstart is an Oracle JDeveloper extension (or "plug-in") that you install using JDeveloper's "Check for Updates" functionality.

Run the "Check for Updates" wizard
With JDeveloper 11.1.2 running, choose Help | Check for Updates... from the main menu. Click (Next>)on the Welcome page of the Check for Updates dialog.

Select the Source for Extensions
Ensure that you have selected the Open Source and Partners Extensions update center, then click (Next >).