Anil's Blog is Best Viewed on GOOGLE CHROME

Wednesday, September 22, 2010

Popup Regions in R12.1.2 for JDev 10G - OAF

Ajay came up with a new Article on the Popup Functionality in R12.1.2 for Jdev 10G. Thanks Ajay.

Our objective is when a user hover its mouse over Employee Name field a popup window will open that shows details of that employee.


 Step 1
For this we will create an external region with AM definition as shown below name it as EmpSummaryPopupRN


 Step 2
 Now in our EmpSearch Page (Using the existing page) we will create a new flowLayout region and drag our EmpName messageStyledText field into it .


 Step 3
Now under this flowLayout region EmpNameLayout we will create a region of style popup and set Region property to above external region(EmpSummaryPopupRN, which we created in STEP1) name it as EmpSummaryPopup.


Now for the popup region to come up as soon as a user hover over EmpName field we need to set some Properties of this  field like 

 ID : EmpName
Popup ID :  EmpSummaryPopup
Popup Render Event : onHover
Popup Enable : True



After completing this Run your page and Hover over EmpName field you will see a new Popup window coming on to your page as shown in starting of this article.

Cheers!! 

Friday, September 17, 2010

Learn OAF

Getting started with OA Framework

Oracle Applications Framework (OA Framework) is the   Oracle Applications development and deployment platform for HTML-based business Applications.

OA Framework is based on the industry-standard J2EE MVC design pattern.

The MVC architecture is a component-based design pattern with clean interfaces between the Model, View, and Controller.

♣ The Model is where the application implements its business logic. All the BC4J components in OAF comes under Model like AM (Application Module), VO (View Object), EO (Entity Object), VL (View Link) & AO (Association Object).

♣ The View is where the application implements its user interface. View means the UI (User Interface) that is visible to the Users.

♣ The Controller is where the application handles user interaction and directs business flow. Controller is a simple javaclass file that contains methods for initial page request and post back request.

For more details please refer

The next step is to determine the correct JDev patch for your development system. We can find the correct version of Jdeveloper with two ways:

1) You can check the framework version in your instance by using http://host:port/OA_HTML/OAInfo.jsp,



2) Click “About this page” link on the bottom left of any OA Page and click on Technology Components.




If you are not able to see it please refer below link

After knowing the patch number you can download it from https://support.oracle.com
Note ID: ID 787209.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.

♣  Once downloaded, follow the installation steps set out in the OAEXT_README.txt document , located in the root directory of your patch file.

♣  The JDeveloper patch includes a very comprehensive documentation library, after installation you can locate the documentation index here: DEV_INSTALL_DIR/jdevdoc/index.htm

♣  Follow the “You are Customer, Consultant or Support Representative” in Chapter 1: “Setting Up your Development Environment” of the OA Framework

I suggest you study Chapters 1, 2 and 3 of the OA Framework developers guide; this will present you with a detailed introduction to OA Framework development concepts. Chapter 8 of the developers guide covers OA Framework standards and guidelines.

The Oracle Applications Framework ToolBox Tutorial is a comprehensive step by step guide to OAF development, extension and personalization. The tutorial will guide you from creating your first “Hello World” program right through to multi-step update pages, partial page rendering techniques and advanced charts and graphs.



Where do I get help?

♣ Oracle Applications Framework Developer's Guide (Included in JDev Installation) 
The Developer's Guide fully documents the capabilities of the Framework including instructions, examples and essential standards for implementing business-tier objects, UI components and server-side features.

 Oracle Applications Framework ToolBox Tutorial Application (Included in JDev Installation)
The ToolBox Tutorial application is a sample application accompanied by extensive examples with step-by-step instructions that demonstrate the usage of business objects and UI components to build OA Framework based application pages, against a simple Purchase Order type application schema, installed on your 11i instance.

♣ OA Framework Discussion Forum on the Oracle Technology Network
Discussion forum for OA Framework Extensions and the OA Extension to Oracle9i JDeveloper, OA Framework Forum (http://forums.oracle.com/forums/forum.jspa?forumID=210). You can use the forum to post questions and exchange information with other users working with OA Framework technology.

 Oracle Applications Product Documentation
Some products may provide additional information on extending application specific business objects and functionality. Consult Oracle Metalink (http://metalink.oracle.com) under the respective product for more information.


Thanks
--Anil

Monday, September 6, 2010

Auto Suggest or Look Ahead LOV's OAF

This article has been contributed by Ajay Sharma well known name on OTN Forums. Thanks for his extended support

Recently Oracle in their R12.1.3 release has by default enabled Look Ahead LOV feature which was introduced in R12.1.2.

First a brief intro about Look Ahead LOV:-

When an end-user types in characters in the LOV search field, the results are fetched and displayed inline to the LOV component.

A user can select a value from this look ahead window just as in the classic LOV window. For most use cases, this capability eliminates the need to launch the LOV modal window, to perform a search within the window, and to navigate through the results using Next / Previous links in the LOV window results table, thereby saving a number of clicks and server-side requests, and significantly enhancing end-user productivity.

So to implement the same feature in R12.1.2 so you can follow below steps:

First create a simple LOV


Now for Look Ahead we need to set the following properties of MessageLovInput field

1) Under Functional heading,  set Look Ahead Enabled to True

2) Look Ahead Search to "Contains" or "Start With"
    Contains means all the records which contains the characters entered by user.
    Start with means all the records that start with characters entered by user.

3) Minimum Character for Search to Any Number as per your requirement.

    These are the minimum number of characters required to initiate the Look Ahead LOV eg 1,2,3 or more



Finally the LOV will look like this when user enters any character.



Important Profile Options for Look Ahead LOVs



FND: Disable Look Ahead LOV       :  Determine whether the Look Ahead LOV feature is enabled or disabled at the site or Application level.



Valid values are: FALSE - Look Ahead LOV feature is enabled.
                            TRUE - Look Ahead LOV feature is disabled

Default Value.: FALSE at Site level.





FND: Minimum Characters for Look Ahead: 


If the Look Ahead LOV feature is enabled,    
then this profile determines the minimum  
number of characters a user must enter to   
activate the Look Ahead LOV window.


Default Value : 3 at Site level

Hope it helps. Do let us know your views or comments