Posts Tagged ‘OA Framework’

Removing unwanted Mileage UoMs from an i-Expense Claim (Part 2)

Tuesday, January 31st, 2012 by Barry Goodsell

In Part 1 of this article, we showed how to customise the values in the Mileage UoM drop-down list. However, we feel that customisations should only be used as the last resort, when all other options have been exhausted. A change to the View Object’s XML file (as suggested by Oracle) will not be resilient across patches and upgrades.

The Oracle Application Framework (OAF) provides a mechanism for us to provide a substitute definition for a View Object, With this mechanism, any time the Framework asks for the UnitOfMeasuresVO it will actually get our personalised version. The easiest way to create a personalisation of this type is to use the appropriate version of JDeveloper. You cannot use the mainstream version of JDeveloper from OTN – you need to download one that has the correct version of JDeveloper that has the OA Extension built-in (see MOS Note 416708.1 for more details).

Read the rest of this entry »

The wrong and right way to avoid invokeMethod in OAF Controllers

Friday, August 14th, 2009 by Barry Goodsell

If you look at the tutorials supplied by Oracle with OA Framework, you’ll see in their Controllers that they use invokeMethod to indirectly call methods in the Model (ie: the BC4J Application Module). I understand why Oracle recommends that you do it this way – it ensures that there are no dependencies between the various parts of the Model, View and Controller.

Here is a simple example:

package abc.oracle.apps.xyz.po.webui;

import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.webui.OAControllerImpl;

class updatePo extends OAControllerImpl
{
  public void processRequest(pageContext, webBean)
  {
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
     am.invokeMethod(”initQuery”);
  }
}

Read the rest of this entry »

An introduction to OA Framework

Tuesday, July 14th, 2009 by Barry Goodsell

In case you’ve never heard of OA Framework, here’s a brief marketing-style synopsis:

Oracle Application Framework is the development and deployment platform that Oracle themselves have used for the past few years to develop the Oracle E-Business Suite “Self-Service” or web-based applications. OA Framework embraces the principles of developer and end-user productivity, performance and flexibility through the use of open standards. The Framework, based on the industry-standard Model-View-Controller design pattern, can be used to develop extensions to existing eBusiness Suite functionality or completely bespoke Self-Service applications.

So, what does that mean in real terms? Oracle themselves have been using OA Framework to develop all new E-Business Suite screens for the past few years, eschewing the traditional Oracle Forms 6i development tool. We’ve all seen the wonderful web-based screens that have been released by Oracle. Personally, I’ve been itching to get my hands on the technology used to build them for quite some time. It’s only since Release 11.5.10 that Oracle have let the rest of us have a play with their new toy.

Read the rest of this entry »