Posts

Showing posts from 2016

Display Multiple Errors in OAF page

Below are the steps to display Multiple Errors in OAF page 1. Add the import statements: import com.sun.java.util.collections.ArrayList; import oracle.apps.fnd.framework.OAException; import oracle.apps.fnd.common.MessageToken; 2. Declare an array list. ArrayList errorMsg= new ArrayList();       3. Raise OAException. for (int i=0; i< hMember.size(); i++) {                          MessageToken[] token = {new MessageToken("USER", getOADBTransaction().getUserName()),new MessageToken("NUM",hMember.getChildNumber())};                         errorMsg.add(new OAException((String)(getOADBTransaction().getMessage("XX","XX_CUSTOM",token)))); } OAException.raiseBundledOAException(errorMsg);                     ...

Dyanmically Change VO query in OAF

We often come across the requirement  where View object query needs to be changed Dynamically. In this article we will be briefing out prerequisites steps about how to change query of view object. 1. I'm going to create view Object  XxTestVO with below query . SELECT 'term_id' NEW_ID, 'name' NEW_NAME   FROM DUAL  WHERE 1 = 2 ** Important Point : View object whose query needs to be changed dynamically must have same columns and Column names  For example  , i will be replacing vo query with below query based on certain condition. Select term_id New_id, Name NEW_NAME from ra_terms  or  Select customer_trx_id NEW_ID, customer_Trx_name NEW_NAME from ra_customer_trx_all 2. You can set query both in Process request and Process Form request method based on your requirement.    public void processRequest(OAPageContext pageContext, OAWebBean webBean)   {     super.processRequest(pag...

Creation of Hello Page in ADF

Image
This Article will help you in creating sample ADF application which display the user text upon the click on Submit Button. Below sequential steps will guide you in creating a basic ADF application with a sole purpose of displaying the text. Open Jdeveloper , Go to the following navigation 1. Create a New Application by following below navigations New > Applications > Fusion Web Application (ADF) 2. Click on Next 3. Click on Next 4.  Click on Next 5. Click on Next Click on Finish , Which will create Project structure. Create JSF page You will see Model and ViewController in DemoHelloPG application.  Now Click on ViewController and choose New Web Tier > JSF > JSF Page File Name – DemoHelloPG.jspx Check “Create XML Document (*.jspx)” Select “ Blank Page ” in “ Initial Page Layout and Content ” Section Select “Automatically Expose UI Components in a New Managed Bean” in “ Page Implementation” Section...

ADF integration with Oracle EBS

I have seen many developers keep on asking this question , Is it possible to deploy ADF pages in Oracle EBS ? What is the best practice to achieve seamless integration between ADF and Oracle EBS ? Well ,Oracle always recommend OAF for EBS as it contain same technology stack which ensures extensions are fully compatible with the rest of the installed E-Business Suite applications.  where as ADF doesn't hold any features of EBS , But if you want to develop custom application which needs to be integrated within Oracle EBS then ADF is the best choice to develop ,its built in framework, drag and drop functionality, Numerous UI features will help in accelerating  the development activities. Remember  ADF application is supposed to be run on a different mid-tier than EBS. As an option customers/developers can use AOL-Lite infrastructure to develop the ADF application which gives lot of value addition to session management, secure apps datasource etc. Once ...

Comparison between OAF and ADF

Many OAF developers who wants to learn ADF always have questions in their minds like , How ADF is different from OAF? How to deploy ADF pages in EBS ? What are the features available in ADF not in OAF ? Likewise there are so many question arises which keep on coming when you think of going for ADF and this particular post will help you in answering all those queries. We have seen all EBS Customers, partners and system integrator's often develop extensions with the  same technology stack (Forms or OA Framework) that the original E-Business Suite application was built with. This ensured that the extensions are fully compatible with the rest of the installed E-Business Suite applications.With the emergence of the next generation Fusion Middleware technology stack,especially the Application Development Framework, a common question from customers is whether to use OAF or ADF to develop their extensions. OAF Technology is based on MVC architecture and its specifically desig...

Introduction to ADF and its Basic Concepts

Image
____________________________________________________________________________ Introduction to ADF The Oracle Application Development Framework (Oracle ADF) is an end-to-end application framework that builds on J2EE standards and open-source technologies to simplify and accelerates implementing service-oriented applications. If you develop enterprise solutions that search, display, create, modify, and validate data using web,Wireless, desktop, or web services interfaces, Oracle ADF can simplify your job. Framework Architecture and Supported Technologies In line with community best practices, applications you build using Oracle ADF achieve a clean separation of concerns by adhering to a model, view, controller architecture. Above figure illustrates where each ADF module fits in this architecture. The core module in the framework is Oracle ADF Model, a declarative data binding facility that implements the JSR-227 specification. The Oracle ADF Model layer enables a u...