Showing posts with label LOV Selection Event In CO Extension. Show all posts
Showing posts with label LOV Selection Event In CO Extension. Show all posts

Wednesday, 21 March 2018

How To Get the LOV Selection Event in OAF Controller For CO Extension

How To Get the LOV Selection Event in OAF Controller For CO Extension

We often need in OAF Controller Extensions to get the Events from the Page to Execute our Custom Code. Suppose If we want to Execute or want to Change some values in the OAF page when the user will select the LOV from the OAF page. For this We can use this below code to Find the LOV Selection Event in the OAF controller and write our custom code inside that Event for Controller(CO) Extension.
 
How To Get the LOV Selection Event in OAF Controller For CO Extension
 

How To Get the LOV Selection Event in OAF Controller For CO Extension

There are two ways by which you can get the LOV selection event in the OAF page.
 
1.pageContext.getLovInputSourceId()
2.pageContext.getParameter(SOURCE_PARAM)
 
 
You can write your Code in the Process Form Request of your CO Extension in this manner
 
You should know the name of your LOV Item in your OAF page so that you can compare this Name with all the Lov selection events in the OAF page because it could be possible there are more then 1 LOV's in the OAF page so you have to distinguish for which LOV selection you want to execute your custom code. 
 
if(pageContext.isLovEvent())
 
  {
String lovInputSourceId = pageContext.getLovInputSourceId();
  if("Country".equals(lovInputSourceId))
{
System.out.println("You can write your Customer Code inside this");
paramOAPageContext.writeDiagnostics(this, "LOV Selection ", 2);
 }
 } 
 

How to Compare the LOV selected value by user in the OAF Page.

 
 if(pageContext.isLovEvent()) 
 {  
      String lovInputSourceId = pageContext.getLovInputSourceId(); 

      if("Country".equals(lovInputSourceId)) {
      paramOAPageContext.writeDiagnostics(this, "LOV Selection ", 2);
           Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId); 
           if(lovResults!=null) 
           { 
                String Country1 =(String)lovResults.get("Country"); // "Country" is the Return Item specified in the lovMap  

           paramOAPageContext.writeDiagnostics(this, "Selected Country "+Country1);
 
 
 
This code is used to do comparison with the LOV selected value in the OAF Page in CO Extension
 
 
How To Get the LOV Selection Event in OAF Controller For CO Extension
 



 

Sunday, 10 March 2013

OAF TUTORIAL :OA Framework(OAF) Learning Tutorial

OAF TUTORIAL : OA Framework(OAF) Learning Tutorial

OAF Represents Oracle Application Framework. OAF is the new technology which is Implemented in the Oracle r12. OAF help use to design the complete Web based forms , earlier in the Oracle 11i this was not feasible and we need to have run time java software to run these forms but in the OAF web pages we don't need these java software and the good part is we can also run the OAF pages in the Mobiles and the Tablets also. The purpose of this OAF Tutorial is the share the free Knowledge of this technology with the Oracle Community. This is the complete Set by step Tutorial , Which can be even refer by the beginners in the OAF and can also refer by the OAF experts too. I have increased the Post difficulty step by step in this Tutorial. I have Started this Tutorial with the Introduction of the OAF then go to Installation of the JDev software to start work on the OAF.
OAF TUTORIAL
OAF TUTORIAL

You will get the complete material of OA Framework(OAF) Learning Tutorial. You can refer this blog as Learning Tutorial to start your Journey in the Oracle OA Framework(OAF). I have shared Step by Step for the each Technical topic of OA Framework(OAF). This is a complete OA Framework(OAF) Learning Tutorial.

OAF Tutorial Lessons:


2.    JDeveloper Installation

3.    Creating Simple Hello world in OAF

4.    How we assign default values in the OAF Page

5.    Creating POP List (List Item) in OAF Page

6.    Part1 Creating LOV in OAF Page

6.    Part2 Creating LOV in OAF Page

7.    Understanding about Page layouts in OAF

8.    How we create a dependent LOV in OAF

9.    Create a data Entry Page in OAF

10.    Updates Records in OAF Page

11.  Delete Records in OAF Page

12.  Calling OAF Page from another OAF Page

13.  Creating OAF Search Page

14(a).  OAF VO Extension : How to add new Column in the Expense Report Summary Home Page

14(b).Part 2 OAF VO Extension : How to add new Column in the Expense Report Summary Home Page

15 (a). Part 1 Controller Extension In OAF :How to add code in Controller Extension on Button Click Event

15(b). Part 2 Controller Extension In OAF :How to add code in Controller Extension on Button Click Event

16. Partial rendering in OAF Page(Conditional Displaying Any Item)

17. Package/Procedure Using in OAF Page

18.Upload File In Oracle Server from Local Machine In OAF Page

19.Dynamic Color change in OA Framework  

20.SPEL In OA Framework Personalizations.

21. Part 1- How we can attach custom LOV in Oracle Standard OAF Page Without doing any customization and extension in standard OAF Page

22. Part 2- How we can attach custom LOV in Oracle Standard OAF Page Without doing any customization and extension in standard OAF Page

P2P Complete Cycle(Configuration & End to End Process) In Oracle Fusion


23.How to Create Dynamic LOV in OAF Through Controller Extension
24.Trigger|Execute Custom Code Based on value Selected in LOV in Standard OAF Page
25.How to get the Name of all Objects and their Run time Value in Running OAF page to use in the controller Extension
26.How to Change Where Condition for View Object (VO) in OAF Technology
27.How to check the Value of View Object(VO) all Columns during Run Time of OAF Page.
28.OAF Important Scripts To Verify and Delete the OAF Extensions from Oracle application.
29.How to Execute and Fetch SQL Queries Data in OAF
30.How to Debug and See Log Messages in OAF Pages
31.How To Get the LOV Selection Event in OAF Controller For CO Extension
32.How to Integrate Java Decompiler with J Developer in OAF
33.How to Create Button in OAF Page Programmatically or Dynamic
34.How to Create Events in OAF Page Programmatically Through Controller Extension
35.Assigning Values to the DFF attributes through SQL query in OAF Page through Controller Extension
36.How to do VO Extension in OAF Through controller Extension: Add New column to Standard VO through Controller Extension
37.Table layout region in OAF. Table region in oaf
38.Types of search pages in OAF
39.Difference between auto customization criteria and result based search in oaf
40.Auto Customization Criteria in OAF
41.What is Root AM in OAF
42.Why can't root AM be extended in OAF
43.Result Based Search in OAF
44.Query Bean in OAF. How to Create Query Bean Search page in OAF
45.Advanced Search Region in OAF. Advanced Search Page in OAF
46.Application Module in OAF.How to attach VO to AM in OAF
47.Entity object in OAF. How to create EO in OAF
48.Exception handling in OAF
49.Dialog message in oaf. How to display popup message in oaf
50.oaexception in oaf. Display message in oaf page

Oracle Application Interview Questions List

New : TOP 23 Most Important Oracle Fusion Interview Questions
New : TOP 20 general ledger interview questions
New: 21 Most Important Oracle r12 Payables Interview Questions
New : TOP 20 general ledger interview questions in oracle apps r12
New: 25 Most Important Oracle receivable interview questions
TOP 33 Most Important Oracle Apps Technical Interview Questions

OAF Personalizations Examples


1.OAF Personalization :How To show Password Hint Option in Oracle E-Business Suite Login Page that can help users to set their Strong password
2.OAF Personalization : How to Display new Field/column in Supplier Search Page
3.OAF Personalization : How to Change the positions of Column & layout in OAF Page
4.How to Delete and De Activate the OAF Personalization in OAF Pages in Oracle Apps
5.How to Migrate OAF Personalizations from One Instance to Another Instance Automatically.

OAF TUTORIAL

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *