Creating Key Flex Field (KFF) Bean in OAF
By Manoj Madhusoodanan on Jun 28, 2012
This blog describes how to create KFF in OAF Page.Here I am going to demonstrate with standard Job KFF.
I have created a new structure in Job KFF which I am going to use it in my custom OAF page.Please see the below pic.
In the above created structure I have created following segments.You can see the valuesets also.
In the custom page I have created an item with following properties.
In the Segment List property you can give which segments are going to use in the KFF. The syntax for defining it is
KFF Code|Segment1|Segment2|Segment3|Segment4|Segment N
In the table just create a field to hold the code combination.Please click here to see table script.
Code combination will goes into JOB_ID field of the table.
In the processRequest method of the page controller add following code snippet to attach the KFF structure and CCID column to the KFF bean.
Deploy the files belonging to this solution to the server.
Following is the output of the above solution.
If you click on JobId you can see the KFF window.
Code Combination Id has created in the table.