Export Collection in ADF

In many report based or any other data related application export to excel feature is always required. Export to excel feature can be achieved in ADF very easily, may be just in 10 minutes we can see the result excel sheet. To achieve this in this project I have first created ADF business components from HR.Employee table. Then I created one jspx page to display the employee details table. Now I want to export this  tabular data in one excel

Extending Objects of View Layer

extending objects of view layer

Introduction Believe me folks if I could have given a chance to get into financial domain, i would love to join. This example uses terms related to financial domain and implements one of the great OOPS concept that is inheritance. We all love to play with objects extending them, inheriting them, calling them, I like inheritance feature of ADF Business Controller. It allows creating inheritance tree of entity objects and viewing objects. Using this approach we can build our very

Steps to Install Repository Creation Utility (RCU) 11g on Oracle XE Database for SoA

We assume that you already have Oracle databse 10g Express Edition installed in your machine. For SOA to be installed on your machine, you will have to make the following changes to default configuration of Oracle XE Database. Maximum System Global Area (SGA) Size of the Database should be more than 150M. Follow these steps to check/increase SGA. 1. Go to Database Home Page url : http://localhost:8080/apex 2. Login into XE Home page with your username(system privilege) and password 3.

File Download In ADF

It is common requirement in many projects to have file download facility. File download facility can be achieved by many means, but in 11g + versions we have one very good component to handle file download facility very quickly. In 11g + versions we have one listener component called fileDownloadActionListener. Which can be triggered from any command related components like commandButton , commandLink etc. It has three parameters filename, contentType, method. filename : It is used to display the file

Creating a Oracle ADF Popup

Like any web application it is required to show pop up window in certain cases in ADF also. In ADF it can be shown in  many ways. Like we can show popup using javascript, using taskflow using pop up component etc. Here I have discussed ADF’s popup component for showing the pop up, the simplest one I think. To show popup I first made one web application with one test page. I have added one command button. I will show

Custom Filter/Servlet In ADF

custom filter in adf

Like any web application some time it is required to use custom filter/ servlet in ADF also. Here is the description of for my case. To use my custom filter I have created one Fusion Web application first. Then I created my custom Filter named MyFilter.java. I have written my custom code in the overridden doFilter method of my custom filter. I have used the below code in my doFilter method.         long initialTime = (new Date()).getTime(); filterChain.doFilter(servletRequest, servletResponse); long

Pagination In ADF

pagination in adf

Pagination is one common requirement in many projects. But in ADF 11g we have only scrollable facility available. So it becomes quiet tedious job to handle huge data. First create one Fusion Web Application. And create the ADF Business Components (I have used Employees Table of HR schema (Oracle XE))       Now create your page. For saving time I have created One ADF Read Only Table by dragging EmployeesView1 from data control to the page.     Now create

Using jQuery in ADF Pages

JQuery is one rich AJAX library. Which is very handy and very popular library used in modern web applications. It gives a very rich look and feel also. For detail study of JQuery you can refer the site JQuery. We can easily use JQuery in ADF pages also. But there is one problem regarding this is that for many ADF components we can’t use components id to be used in JQuery as the ids are rendered like ::content and JQuery

Creating ADF Poll

Creating ADF poll is one of the easiest thing in ADF. Here you have to just mention the poll interval just and it will call the poll in that interval continuously. To create ADF Poll (af:poll) just create one Fusion Web Application and Create one Fusion Web Project. In that project create one managed bean to create the poll listener method. For me it is CallPollBean.java. Now create one Poll Listener method, For me it is :     public void callPoll(PollEvent

Favicon Icon In ADF

To create Favicon Icon for Your ADF application without changing context root, you can follow the following steps. Place the favicon.ico in your Webcontent root. For me it is like FaviconViewControllerpublic_html Refresh Your ViewController project it will show favicon.ico in WebContent section as shown in picture.   Now create one jspx page that will use the favicon.ico Right Click the af:document in structure window and enable the metaContainer facet as shown in the picture. Inside metaContainer facet create one af:outputText