Here we will see the non-programming steps[done by mouse clicks in jDeveloper] for this OA Framework exercise, to create a screen that interacts with table.
Create a table, as below.
CREATE TABLE xx_oaf_demo_simple_01
(
person_id integer
,first_name varchar2(30)
,last_name varchar2(30)
,CREATION_DATE DATE
,CREATED_BY NUMBER(15)
,LAST_UPDATE_DATE DATE
,LAST_UPDATED_BY NUMBER(15)
,LAST_UPDATE_LOGIN NUMBER(15)
) ;
Note: Ensure that you have picked columns for Record History too.
Create a BC4J Package for our OA Framework exercise, which in this case is xx.oracle.apps.ak.demosimple01
You will be prompted to create an EO, but simply click on finish without selecting our table.
Rightclick on BC4J, to create new Entity Object
Select our table in the field "Schema Object" as above. Keep clicking on next after having selected the table. In the last step, you can Select the checkbox that prompts to create a default ViewObject for this ViewObject.
A default view object named XxOafDemoSimple01View will be created.
Note: Note the default instance name of the VO is XxOafDemoSimple01View1
This name will be used when referencing the VO Programatically.
Now, lets create the page.
Lets call it simpleTablePG, and also create a region of style PageLayout. Call this region MainRegionRN
Right click on the region to create new Controller for that region. We call this controller demoSimpleTableCO
Lets create a nested/child region[within MainRegionRN], but this time using Wizard.
In the wizard, select the AM and view object on which this region will be based.
The wizard will create all the fields in the screen, for each column in ViewObject
You will need to set Displayed to No for the record history fields.
Create a Button, no screenshot needed here, simply use steps from HelloWorld example for doing this.
The above steps will produce the result as shown below.
Not lets have a look at programming bits for this screen.
Please click this link to see the details of programming steps
Comments
(6)
...
written by Arun Reddy , August 29, 2007
written by Arun Reddy , August 29, 2007
Hi Anil,
Iam very new to this OAF technology.
Basically I'm Apps Techno Functional Consultant.
I want to learn OAF as Fusion is going to use OAF.
Can you please let me know what are the minimum prerequisities I need on my PC to pracitce the OAF articles posted on this website.
I have bit confusion about Fusion.I read some where that Fusion is going to use ADF.
Is ADF and OAF both are same?
Can you please clarify my doubts.
Regards,
Arun Reddy
Votes: +0
Iam very new to this OAF technology.
Basically I'm Apps Techno Functional Consultant.
I want to learn OAF as Fusion is going to use OAF.
Can you please let me know what are the minimum prerequisities I need on my PC to pracitce the OAF articles posted on this website.
I have bit confusion about Fusion.I read some where that Fusion is going to use ADF.
Is ADF and OAF both are same?
Can you please clarify my doubts.
Regards,
Arun Reddy
report abuse
vote down
vote up
how to display rows in a table in different colors depending upon some particular attibute of view object?
written by avanindra , March 06, 2008
written by avanindra , March 06, 2008
Hi anil,
I have stuck in a problem, I have to show some of the rows in a table in different color depending on one particular attribute's value of the view object which is associated with the table...Can you please answer me how to do that?
Votes: +0
I have stuck in a problem, I have to show some of the rows in a table in different color depending on one particular attribute's value of the view object which is associated with the table...Can you please answer me how to do that?
report abuse
vote down
vote up
How was AM created?
written by oadeveloper , December 01, 2008
written by oadeveloper , December 01, 2008
Hi Anil,
I'm using R12, and I'm trying to follolw your example.. I've created all, but when I'm trying to create the 2nd region it appears a message saying that the AM must be created.. Where/when/how is AM created? I created the CO.. but just only that.... no AM was created automatically...
Thanks.
Votes: +0
I'm using R12, and I'm trying to follolw your example.. I've created all, but when I'm trying to create the 2nd region it appears a message saying that the AM must be created.. Where/when/how is AM created? I created the CO.. but just only that.... no AM was created automatically...
Thanks.
report abuse
vote down
vote up
how to create a new login page in oaf
written by rabindra mishra , November 23, 2009
written by rabindra mishra , November 23, 2009
Hi,
my requirement is create a login page,there is a button name forget pass if any one click the button then it show a new page for email ,if you give the mail id and submit it. a notification mail is going to the user account that you pass is this.
how i create it,pl help me.
thanks.
Votes: +0
my requirement is create a login page,there is a button name forget pass if any one click the button then it show a new page for email ,if you give the mail id and submit it. a notification mail is going to the user account that you pass is this.
how i create it,pl help me.
thanks.
report abuse
vote down
vote up
| < Prev | Next > |
|---|





Wizard will not ask you for BC4J again.
It will simply ask you for the Application Module [AM].
Please select the same AM that you had attached to properties of MainRegionRN [under bc4j/AM Definition in property pallete]
Thanks
Anil