Documente Academic
Documente Profesional
Documente Cultură
Scribd
Upload a Document
Search Books, Presentations, Business, Academics...
Explore
Documents
Books - Fiction
Books - Non-fiction
Health & Medicine
Brochures/Catalogs
Government Docs
How-To Guides/Manuals
Magazines/Newspapers
Recipes/Menus
School Work
+ all categories
Featured
Recent
People
Authors
Students
Researchers
Publishers
Government & Nonprofits
Businesses
Musicians
Artists & Designers
Teachers
+ all categories
Most Followed
Popular
rbojja
Account
Home
My Documents
My Collections
My Shelf
View Public Profile
Messages
Notifications
Settings
Help
Log Out
scribd.com/…/Oracle-ADF-11g-Learning… 1/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 2/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 3/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 4/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 5/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 6/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 7/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 8/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 9/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 10/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 11/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 12/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 13/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 14/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 15/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 16/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 17/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 18/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 19/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 20/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 21/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 22/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 23/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 24/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 25/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 26/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 27/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 28/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 29/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 30/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 31/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 32/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 33/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 34/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 35/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 36/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 37/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 38/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 39/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 40/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 41/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 42/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 43/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 44/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 45/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 46/57
11/18/2010 Oracle ADF 11g Learning Application _…
scribd.com/…/Oracle-ADF-11g-Learning… 47/57
11/18/2010 Oracle ADF 11g Learning Application _…
Step 12) Select the initilizeNewRegLines from the data control palette and drop it on
the adfc-config.xml in code editor. In the “Edit Action Binding” under the parameter
section specify values as
Step 13) Select the flow control from the component palette, drag & drop it from
‘CreateNewLine’ to ‘initilizeNewRegLines’ activity with from-outcome property=
‘’CreateInsert’.
Step 14) Select the ItemDetailsPage from the application navigator, drag and drop it
in the adfc-config.xml file in code editor. And define the control flow activity from
‘initilizeNewRegLines’ to ‘ItemDetailsPage’ activity with from-outcome=
initilizeNewRegLines.
Step 15) Define a control flow from ItemDetailsPage view activity to Edit-Registration
task flow call activity with from-outcome= SaveRegLine. And then define a control
flow from the “Edit-Registration” to “HomePage” with from-outcome= HomePage.
Run your application, with home page, you should be able to create and save the
registration. And then add the new line by clicking the “Add Item” button on the
registration page.
When you run your application and add the registration line in the registration, your
added lines will not be shown in the registration lines table region in the registration
page. To achieve this we have to execute the iterator with which the registration lines
table is associated.
Another navigation case is to go to item list page from registration page and search
the item. And from Item list page to item details page where we will add the quantity
of the item and navigate back to the Registration page. To achieve this , follow the
following steps:-
http://kohlivikram.blogspot.com/
Step 20) Select the item list page from the application navigator and drop it on the
adf-config.xml in the code editor.
Step 21) Define control flow from 'Edit-Registration' to 'ItemLitsPage' with from-
outcome='ItemListPage'. And from the 'ItemListPage' to the 'CreateNewLine' method
activity with from-outcome='CreateNewLine'.
Now you will be able add a line in registration from the item list page.
Also we also have to open the exiting registration from the Home page. To achieve
this open your home page. Now under the registration number command link add
the following two action listener under that as :-
1) from="#{'Edit'}" to="#{requestScope.mode}"/>
2) from="#{row.RegistrationId}" to="#{requestScope.regToEdit}"
scribd.com/…/Oracle-ADF-11g-Learning… 48/57
11/18/2010 Oracle ADF 11g Learning Application _…
2) from="#{row.RegistrationId}" to="#{requestScope.regToEdit}"
And finally, as we have the “Total USD Amount” and “Total PFI Amount” in the
registration page which will show the total USD amount of the registration lines and
total PFI(package, fright and insurance) amount of the registration lines added in the
registration. To achieve this we will add the method in the application module custom
Java class which will iterator through the registration lines related to current
registration with the help of view link. Add following code in the application module
Impl class:-
//commit();
}
}
Expose the above method in the application module client. Now open your Edit
Registration page flow, select the updateRegLinesAmt from the data control palette and
drop it in the code editor window in the 'Edit-Registration' page flow in between the
'FindRegistration' and RegistrationPage activity as shown below:-
scribd.com/…/Oracle-ADF-11g-Learning… 49/57
11/18/2010 Oracle ADF 11g Learning Application _…
Procurement application is ready. Test it and let me know how your feedback on this
and and error in the documentation. I will keep working on the application and will
improve it further and update the document.
Happy Learning.
http://kohlivikram.blogspot.com/
Technology
oracle adf 11g tutorial
boolean
prerequisites
enter
textbox
commit button
dropdown list
(more tags)
kohli.vikram1982@...
Related Documents
PreviousNext
1.
p.
p.
scribd.com/…/Oracle-ADF-11g-Learning… 50/57
11/18/2010 Oracle ADF 11g Learning Application _…
9 p.
2.
p.
27
p.
p.
3.
p.
p.
p.
4. 172
p.
p.
p.
5. 1 p.
scribd.com/…/Oracle-ADF-11g-Learning… 51/57
11/18/2010
5. 1 p. Oracle ADF 11g Learning Application _…
p.
68
p.
6.
p.
1 p.
79 p.
7.
42 p.
1 p.
1 p.
8.
1 p.
11 p.
10 p.
scribd.com/…/Oracle-ADF-11g-Learning… 52/57
11/18/2010 Oracle ADF 11g Learning Application _…
9.
p.
6 p.
p.
10.
130 p.
1 p.
3 p.
11.
13 p.
1 p.
3 p.
12.
8 p.
scribd.com/…/Oracle-ADF-11g-Learning… 53/57
11/18/2010 Oracle ADF 11g Learning Application _…
5 p.
2 p.
13.
2 p.
p.
61 p.
14.
4 p.
12 p.
1 p.
15.
1 p.
28 p.
scribd.com/…/Oracle-ADF-11g-Learning… 54/57
11/18/2010 Oracle ADF 11g Learning Application _…
More from this user
PreviousNext
1.
3 p.
9 p.
5 p.
2.
65 p.
8 p.
2 p.
3.
2 p.
4 p.
4 p.
scribd.com/…/Oracle-ADF-11g-Learning… 55/57
11/18/2010 Oracle ADF 11g Learning Application _…
4.
9 p.
5 p.
5 p.
5.
4 p.
Recent Readcasters
Add a Comment
Submit
04 / 18 / 2010
Reply
scribd.com/…/Oracle-ADF-11g-Learning… 56/57
11/18/2010 Oracle ADF 11g Learning Application _…
02 / 02 / 2010
Reply
Thanks a lot.
08 / 22 / 2009
Reply
Thanks,
06 / 18 / 2009
Reply
Thanks,
04 / 07 / 2009
Reply
Upload a Document
Follow Us!
scribd.com/scribd
twitter.com/scribd
facebook.com/scribd
About
Press
Blog
Partners
Scribd 101
Web Stuff
Scribd Store
Support
FAQ
Developers / API
Jobs
Terms
Copyright
Privacy
scribd.com/…/Oracle-ADF-11g-Learning… 57/57