Upload
-
View
217
Download
0
Embed Size (px)
Citation preview
8/14/2019 Oracle ADF RIA
1/71
Oracle ADFRIA-2
Jdeveloper
.
,,,
.M
.
::
devahmad3ttallah@yahoocomhttp//hope-sunblogspotcom
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlmailto:[email protected]://hope-sun.blogspot.com/http://hope-sun.blogspot.com/http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlmailto:[email protected]8/14/2019 Oracle ADF RIA
2/71
Oracle ADFRIA-2
* RIAOracle ADF
.
:.
Oracle JDeveloper 11gADF.:
Oracle ADF Business Components
Oracle ADF Faces Rich Client Components
Oracle ADF Task Flows
: .
:
1.,2.Business ComponentsFusion Application34 Business ComponentsJSF56 Data controls JSFBusiness Services.M7Page Flow89ADF Faces Framework
Read Only Business Services Page Fragments10 ,Regions
______________*RIA - Rich Internet Applications-
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://www.oracle.com/technology/obe/obe11jdev/bulldog/ria_application/developriaapplication_long.htmhttp://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://www.oracle.com/technology/obe/obe11jdev/bulldog/ria_application/developriaapplication_long.htmhttp://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://en.wikipedia.org/wiki/Rich_Internet_applicationhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
3/71
Oracle ADFRIA-2
:
RIA.
Oracle ADFJava EE ADF.
: .
JSF.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/blog-post.htmlhttp://hope-sun.blogspot.com/2009/07/blog-post.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
4/71
Oracle ADFRIA-2
1HR schemaOracle data base
HR schema.,command linesqlplussystem
.2>SQL;alter user HR identified by HR account unlock
sqlplus.
3 JDeveloper
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/blog-post_01.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SkuEE7vJpKI/AAAAAAAAAQE/DWhTsm_QcIs/s1600-h/t157[8].gifhttp://hope-sun.blogspot.com/2009/07/blog-post_01.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
5/71
Oracle ADFRIA-2
Business ComponentsFusion Application
JDeveloper. JDeveloper.
M,,
. Fusion technologybusiness components
.Oracle ADF Business Components
.
1New Application
2,HRSystem,,MM
.Application Package Prefixdemo.Application TemplatesFusion Web Application (ADF(Finish.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/fusion-application-business-components.htmlhttp://hope-sun.blogspot.com/2009/07/fusion-application-business-components.htmlhttp://hope-sun.blogspot.com/2009/07/fusion-application-business-components.htmlhttp://hope-sun.blogspot.com/2009/07/fusion-application-business-components.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4sjZrnZWI/AAAAAAAAAQw/Dw7bl0u9wLU/s1600-h/t002b[9].gifhttp://hope-sun.blogspot.com/2009/07/fusion-application-business-components.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
6/71
Oracle ADFRIA-2
Model,3ViewConroller,ModelNew
4New Gallery,Business TierADF BusinessComponents,Business Components From TablesOk.
.
5Initialize Business Components Project,
Connection
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk4swuSVsrI/AAAAAAAAARI/nTgjYMzUYxc/s1600-h/iconGreenPlus[3].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk4ss8_HgYI/AAAAAAAAARA/k6eqVKJ9h-k/s1600-h/t001[7].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4snjoGXII/AAAAAAAAAQ4/bVPJu2qtV7Q/s1600-h/t003b[6].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
7/71
Oracle ADFRIA-2
6.Connection name : HR
User name : HR
Password : HR
Test Connection,Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk4s2pmE-BI/AAAAAAAAARY/9-hpr6havpY/s1600-h/t003[6].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4szRtn1VI/AAAAAAAAARQ/jY9kYPs5y2c/s1600-h/t002[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
8/71
Oracle ADFRIA-2
7Ok.
,Querydata dictionary.Entity Objects8
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4s9k4iYWI/AAAAAAAAARo/lFepcVFI9uk/s1600-h/t005[5].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4s50dFl6I/AAAAAAAAARg/pe-Z_ijQvxM/s1600-h/t004[6].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
9/71
Oracle ADFRIA-2
9DEPARTMENTSEMPLOYEES,Next.
10Updateable View Objects,Departments1 (HR.DEPARTMENTS(
Employees1 (HR.EMPLOYEES.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk4tFUJ1t9I/AAAAAAAAAR4/Cme2QTPaDVk/s1600-h/t172[5].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk4tB6hefvI/AAAAAAAAARw/nogaJHjZPZk/s1600-h/t171[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
10/71
Oracle ADFRIA-2
11Read Only View Objects,QueryJOBS.
12Application Module,Finish
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk4tMl-hx1I/AAAAAAAAASI/iigDeDjJs_o/s1600-h/t009[5].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4tI3AREJI/AAAAAAAAASA/4Ba05zVTCC0/s1600-h/t008[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
11/71
Oracle ADFRIA-2
RunAppModel13 ,application module,Swing ADF Business Components
.
EmpDeptFkLink1Oracle Business Component14departmentemployees
masterdetails
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk4tT5U6UjI/AAAAAAAAASY/mscAuJAjjG4/s1600-h/t012[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk4tPxbIXmI/AAAAAAAAASQ/nhn7UycRmUE/s1600-h/t010[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
12/71
Oracle ADFRIA-2
LocationID1700.Specify View Criteria (binocular icon) button15Find
16.
Oracle Business Component.
Save All,JDeveloperOracle Business Component17
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk4th9iQ8sI/AAAAAAAAAS4/X2D7uRVtP9M/s1600-h/iconSaveAll[3].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk4teWC2ZUI/AAAAAAAAASw/19Nw4fUfZz4/s1600-h/t102bis[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk4taYzxzqI/AAAAAAAAASo/MnxAwZZNhN8/s1600-h/t102[5].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk4tXc8vNTI/AAAAAAAAASg/KWpgLbO3CsI/s1600-h/iconBinocular[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
13/71
Oracle ADFRIA-2
Business Components
business servicesvalidation rules)formatting)default values.)
:
1Employees1.
,validationSalary,AttributesEmployees1.xml2
Add.
3,RangeRule Type,. OperatorBetween,0 Minimum value99000
Maximum value
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/business-components.htmlhttp://hope-sun.blogspot.com/2009/07/business-components.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk5anm4N8hI/AAAAAAAAATg/10_uUgt8Ujg/s1600-h/t015b[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk5ahY59uNI/AAAAAAAAATY/njfdZlShfIw/s1600-h/t013[5].gifhttp://hope-sun.blogspot.com/2009/07/business-components.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
14/71
Oracle ADFRIA-2
Failure Handling.4 Message Text
"Salary out of range 0 to 99,000"Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk5a09DJucI/AAAAAAAAAT0/5mK1qbhPJsY/s1600-h/t017[5].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk5au8HyoxI/AAAAAAAAATo/H9k_eirOdr0/s1600-h/t016[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
15/71
Oracle ADFRIA-2
5hired date,.
Employees1.xmlHireDate,,CTRL+Shift+I
Value ,Default Value TypeExpression,Default Valueadf.currentDate ,hired date
.
6 UI Hints,),,
ToolTip. MUI HintsFormat TypeSimple Date
FormatMM/dd/yyyy
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk5bSEEIeII/AAAAAAAAAUI/32PlzJiHR_M/s1600-h/t019[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk5a8DCuhAI/AAAAAAAAAUA/q7l4aAbWENg/s1600-h/t034[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
16/71
Oracle ADFRIA-2
7 Application Module)AppModuleRun (
M.
Save All
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk5be8XwDhI/AAAAAAAAAUQ/pbZtd00k1cE/s1600-h/t020[6].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
17/71
Oracle ADFRIA-2
JSF
JavaServer FacesJSFJAVA EE.JSF business components
.Oracle ADF Faces Rich Client Components,
Ajax-based rich Web UIHTMLJavaScriptviewcontroller,
Model layer business services.
1,ViewControllerNew
New Gallery2 ,Web TierJSFJSF pageOk
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/jsf.htmlhttp://hope-sun.blogspot.com/2009/07/jsf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk8zc3KQjcI/AAAAAAAAAUs/JqCCFFSgBvE/s1600-h/t0405.gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk8zbdoJOVI/AAAAAAAAAUk/Vow9gCbs9_4/s1600-h/t0395.gifhttp://hope-sun.blogspot.com/2009/07/jsf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
18/71
Oracle ADFRIA-2
3Create JSF Page,DeptEmpPage.jspx,PageTemplateOracle Three Column Layout ,Create as XML Document
,Ok
,4.,
delete
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8zitIaZnI/AAAAAAAAAU8/OtJxIo3RJLQ/s1600-h/t0427.gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/Sk8zgBgOfbI/AAAAAAAAAU0/zeE8_P8ttx0/s1600-h/t0415.gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
19/71
Oracle ADFRIA-2
5.LayoutPanel Accordion.
ShowDetails16 TextDepartments
7Insert After Show Details Item DepartmentsShow Detail Item.,
TextMore Info
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8znrqKs_I/AAAAAAAAAVU/CTRU_JdGoqo/s1600-h/t0456.gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8zmLTUaHI/AAAAAAAAAVM/kecO9XhjGdI/s1600-h/t0445.gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk82H1jyg-I/AAAAAAAAAWM/SDxygrLw1ZY/s1600-h/t043[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
20/71
Oracle ADFRIA-2
Panel Splitter.Layout8
VerticalOrientation9
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8zsCaM35I/AAAAAAAAAVs/hxVc6pCSlAc/s1600-h/t0477.gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/Sk8zqWgEngI/AAAAAAAAAVk/qn5JqlJtAfA/s1600-h/t0465.gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk8zpFcngGI/AAAAAAAAAVc/bzKIMRsQsZ8/s1600-h/t045bis5.gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
21/71
Oracle ADFRIA-2
Panel CollectionLayout10 first area splitter 11-
MLayoutPanel Tab second area
12:
Save All.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8zxxKll5I/AAAAAAAAAWE/TIrZvCjNgSc/s1600-h/t0515.gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/Sk8zvxDQl2I/AAAAAAAAAV8/hfEYxOQ6ntg/s1600-h/t0495.gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/Sk8zth7qXDI/AAAAAAAAAV0/vwefiGNIEto/s1600-h/t0485.gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
22/71
Oracle ADFRIA-2
Data controls JSF
business components.,drag and drop,
ADF Model layer.
AppModuleDataControlMData Controls1 business services.M
Departments1View12 Departments JSF,Forms->ADF Read-Only Form
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/data-controls-jsf.htmlhttp://hope-sun.blogspot.com/2009/07/data-controls-jsf.htmlhttp://hope-sun.blogspot.com/2009/07/data-controls-jsf.htmlhttp://hope-sun.blogspot.com/2009/07/data-controls-jsf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCznASlL5I/AAAAAAAAAWw/lLk_CXp-Us8/s1600-h/t055[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCzljMTwPI/AAAAAAAAAWo/QNQKfJAXoQI/s1600-h/t104[5].gifhttp://hope-sun.blogspot.com/2009/07/data-controls-jsf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
23/71
Oracle ADFRIA-2
3Edit Form fieldsInclude Navigation ControlsOkOk
4 Data ControlsDepartments1View1MEmployees1View3
5 Employees1View3 Panel Collection JSFTables->ADF Read-Only Table
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlCzq3j7pUI/AAAAAAAAAXI/EQMjIlU0sWU/s1600-h/t058[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCzppHDhlI/AAAAAAAAAXA/rpooYTUC5T0/s1600-h/t057[4].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlCzoeLOOLI/AAAAAAAAAW4/iuacML6t7SE/s1600-h/t056[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
24/71
Oracle ADFRIA-2
6Edit Table ColumnsRow Selection, Sorting,Filtering,Ok
Employees1View37 JSFForm->ADF Form
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCztl-v8gI/AAAAAAAAAXY/oDrBuRRU5Ps/s1600-h/t060[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlCzsEb4-iI/AAAAAAAAAXQ/EGUiJV6OEEE/s1600-h/t059_Alt[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
25/71
8/14/2019 Oracle ADF RIA
26/71
Oracle ADFRIA-2
,Run,Save All10compile WebLogic Server
,,.
departments splitter,
Mdepartment.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlCzz5Axy0I/AAAAAAAAAX4/Pm9P9PE6elA/s1600-h/t064[5].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlCzyjpAL3I/AAAAAAAAAXw/9-cSXbzp3Do/s1600-h/t063[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
27/71
Oracle ADFRIA-2
11HireDate 11/11/123.
Clock Icon HireDate.
12 Salary 9Submit.M
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCz3TnYIDI/AAAAAAAAAYQ/6w6oAWqgwak/s1600-h/t068[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCz1-XKDCI/AAAAAAAAAYI/z9QKA_vlyHo/s1600-h/t067[6].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlCz0_EcqhI/AAAAAAAAAYA/ME-lFr6tZwE/s1600-h/t066[6].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
28/71
Oracle ADFRIA-2
13 department 50,,.M
14.
15 Filter field First Name%BEnterB.
16.JDeveloper
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCz615ON_I/AAAAAAAAAYo/PCPX9ZKMLFA/s1600-h/t071[6].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlCz5zvEKiI/AAAAAAAAAYg/G5U2VI6Z4fY/s1600-h/t070[6].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlCz4tosSoI/AAAAAAAAAYY/3050QSbNi5E/s1600-h/t069[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
29/71
Oracle ADFRIA-2
17employees.Employees Table JSFColumn SelectionSingle
ADF Data Visualization,18 JSF components More Info,Employees1View3More Info,Graph
GraphADF Faces Data Visualization
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlCz9t-6N8I/AAAAAAAAAY4/Y3xqg7iaFX0/s1600-h/t073[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCz8Kfx37I/AAAAAAAAAYw/S-HOp6CCKbs/s1600-h/t072[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
30/71
Oracle ADFRIA-2
19Component Gallerypiepie Graph typeOk
20Create Pie GraphSalaryPieLastNameSlices,Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlC0AVjMiJI/AAAAAAAAAZI/nxIhUtT63nU/s1600-h/t075[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlCz_PTt58I/AAAAAAAAAZA/bSuX7m2deS8/s1600-h/t074[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
31/71
Oracle ADFRIA-2
,,RunSave All21.
More Info.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlC0BmHNluI/AAAAAAAAAZQ/jiwDymbsnLQ/s1600-h/t076[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
32/71
Oracle ADFRIA-2
Business Services
Business Service Employees.
Oracle ADF Business Components.M
New Viewdemo.model1
2 Name ,NameEmpDetailsUpdateable Access Through Entity Objects.
Next
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/business-services.htmlhttp://hope-sun.blogspot.com/2009/07/business-services.htmlhttp://hope-sun.blogspot.com/2009/07/business-services.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDG8IhonWI/AAAAAAAAAZg/GCEMjme59D4/s1600-h/t022[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDG6mK-W7I/AAAAAAAAAZY/ALhwRZyYmMw/s1600-h/t021[5].gifhttp://hope-sun.blogspot.com/2009/07/business-services.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
33/71
Oracle ADFRIA-2
,Employees1MEntity Objects3Departments1.
EmployeesUpdateableDepartments.
Next
,Attributes,4 Employees1
EmployeeId
FirstNameLastName
SalaryHireDate
JobId
Departments1
DepartmentID
DepartmentName
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDG9TP_CWI/AAAAAAAAAZo/Z35HIMOkV_8/s1600-h/t023[6].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
34/71
Oracle ADFRIA-2
Finish View object
,calculated attribute5.
EmpDetails.xmlAttributesnew attribute.
6New View Object Attrib:
Field Value
Name YearlySalar
Type NumberValue Type ExpressionValue Salary * 12
Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlDHAZv5vYI/AAAAAAAAAZ4/aXf0IxcZeb0/s1600-h/t025[5].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDG-9MF8pI/AAAAAAAAAZw/xmxv8YZIdiU/s1600-h/t103[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
35/71
Oracle ADFRIA-2
7M.
job titlesJobs
EmpDetails.xmlView Accessors
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlDHC1h4BNI/AAAAAAAAAaI/FM1TIngG6IA/s1600-h/t028[6].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDHBo82pqI/AAAAAAAAAaA/LRyUhkFHcEM/s1600-h/t026[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
36/71
Oracle ADFRIA-2
8View AccessorsJobViews1,Ok
9EmpDetails.xmlAttributesJobId
List Of Values.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlDHFpNrmuI/AAAAAAAAAaY/wdZRQXehV9o/s1600-h/t030[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlDHEMlJIsI/AAAAAAAAAaQ/_KREsLBPm4Y/s1600-h/t029[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
37/71
Oracle ADFRIA-2
10List of ValuesJobsView1List Data SourceJobIdListAttribute
11List of ValuesUI HintsInput Text with List ofValuesDefault List TypeJob Title.Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlDHI-1KenI/AAAAAAAAAbY/jbECLJLWs9w/s1600-h/t032[8].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDHHHPgTlI/AAAAAAAAAag/heqcUV9bTAs/s1600-h/t031[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
38/71
Oracle ADFRIA-2
12.AppModuleData
Model
EmpDetails.13
RunAppModel14 application moduleSwing ADF Business Components.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDHMSjv4sI/AAAAAAAAAa4/SREuztwoDSI/s1600-h/t036[6].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlDHKsqm3_I/AAAAAAAAAaw/9pwFymCPQVQ/s1600-h/t027[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
39/71
Oracle ADFRIA-2
EmpDetails.15
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlDHOxuGXqI/AAAAAAAAAbI/xfgmV9xO9h0/s1600-h/t037[10].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlDHNtv5EoI/AAAAAAAAAbA/Qx8oe7K8C5w/s1600-h/t010Bis[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
40/71
Oracle ADFRIA-2
16 Salary9.JobIdNew Job
17Business Components ,JDeveloper,Save All
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlDHQQpcXtI/AAAAAAAAAbQ/ERjU2paRVRo/s1600-h/t038[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
41/71
Oracle ADFRIA-2
Page Flow
.,ADF Task Flow.
1ViewControlleradf-configpage flows,.
.
DeptEmpPage.jspx2 adf-config diagram
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/page-flow.htmlhttp://hope-sun.blogspot.com/2009/07/page-flow.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD83tPpROI/AAAAAAAAAbw/HhQDz1QM5zM/s1600-h/t078[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD82NlRwoI/AAAAAAAAAbo/jcutqPUu4rc/s1600-h/t077[5].gifhttp://hope-sun.blogspot.com/2009/07/page-flow.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
42/71
Oracle ADFRIA-2
3 Component PaletteViewadf-config diagramquery,JSF.
4 ComponentControl Flow CaseDeptEmpPage query
goQuery
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD893SpQHI/AAAAAAAAAcI/kRjpO0NH1yE/s1600-h/t081[5].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD86sw3QaI/AAAAAAAAAcA/grEwZUrIQGM/s1600-h/t080[6].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD85FBc9aI/AAAAAAAAAb4/W1WJC9R7SJ0/s1600-h/t079[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
43/71
Oracle ADFRIA-2
5 ComponentControl Flow CasequeryDeptEmpPage
query.6 Page TemplateOracle Three Column LayoutCreate JSF pageOk
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD9AYX87RI/AAAAAAAAAcY/NVhRj-DLHpU/s1600-h/t083[6].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD8-xFy-hI/AAAAAAAAAcQ/j22VmWIp2RE/s1600-h/t082[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
44/71
Oracle ADFRIA-2
7Data Controls,EmpDetails1Named Criteria,MAll Queriable Attributesquery.jspx,
Query->ADF Query Panel
MEmpDetails1Data Controls8 query component,Form->ADF Form.
Edit Forms Details,Include Navigation ControlsIncludeSubmit Button,Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD9FMKQH0I/AAAAAAAAAcw/tDqKBs4Fc1c/s1600-h/t094[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9DAIL1SI/AAAAAAAAAco/0nt4jqEHbM0/s1600-h/t093[4].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9B-oUsII/AAAAAAAAAcg/p8SPe0JzssQ/s1600-h/t092[9].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
45/71
Oracle ADFRIA-2
9 StructureSubmitInsert after af:command:Button - Submit > Button
property inspector TextBack,Actionback ,page flow
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD9J55NGvI/AAAAAAAAAdA/FZXp9MI5XOk/s1600-h/t096[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD9HyWCJVI/AAAAAAAAAc4/ehNJkuQP9Qk/s1600-h/t176[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
46/71
Oracle ADFRIA-2
10commitrollback.DataControlsOperationscommitrollbackCommit structure First ButtonOperations-
>ADF Button
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD9MYB0enI/AAAAAAAAAdI/D-sn-KM_Bbs/s1600-h/t162[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
47/71
Oracle ADFRIA-2
Rollback11
Query.jspx:12
DeptEmpPage.jspx.13,
JDeveloper.,
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9Uw4wSmI/AAAAAAAAAdk/nqn6rs4wyvQ/s1600-h/t177[2].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD9SjxSI_I/AAAAAAAAAdc/UBz3QFb4j64/s1600-h/t168[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9PtUB1uI/AAAAAAAAAdU/Rraw9z_xiOk/s1600-h/t163[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
48/71
Oracle ADFRIA-2
DepartmentsButtonComponent14 FirstPrevious,Firstinsert after->button
property inspector TextQuery,ActiongoQuery
page flow
15Save All,
DeptEmpPage.jspxRun.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlD9b85fi3I/AAAAAAAAAd8/eWgWcXSmsGc/s1600-h/t088b[2].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlD9ZiVciUI/AAAAAAAAAd0/5Md2k6nhmmg/s1600-h/t088[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD9XcYc3SI/AAAAAAAAAds/qZ2zoJ_SYOw/s1600-h/t087[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
49/71
Oracle ADFRIA-2
16Query.
17Query ,JobID.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlD9fuPY2WI/AAAAAAAAAeM/nxqJtGtY1Ik/s1600-h/t169b[3].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlD9d3nVJTI/AAAAAAAAAeE/AETCNkFIXOc/s1600-h/t169a[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
50/71
Oracle ADFRIA-2
18%A
AccountantOkSearch Query.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlD9kEJl64I/AAAAAAAAAec/DthqVhUL8TQ/s1600-h/t169c[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9hp4Z3uI/AAAAAAAAAeU/DNDHzW2nHxI/s1600-h/t169[4].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
51/71
Oracle ADFRIA-2
19,Mcommitrollback.
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlD9mHqH8sI/AAAAAAAAAek/eFjxHe-dsF0/s1600-h/t170[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
52/71
Oracle ADFRIA-2
ADF Faces Framework
Ajax.
)Partial Page Refresh (
)Drop Down Menus)Operation Components (
yearlySalarySalary
partial page refreshADF Faces
Salaryquery.jspx1 ,property inspectoridsal
2Property Inspector,BehaviorAutoSubmitTrue
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/adf-faces-framework.htmlhttp://hope-sun.blogspot.com/2009/07/adf-faces-framework.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHF85ANyII/AAAAAAAAAe0/rRy23oG_vOI/s1600-h/t1072.gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHF7R4YcUI/AAAAAAAAAes/smczz0cC2aQ/s1600-h/t1063.gifhttp://hope-sun.blogspot.com/2009/07/adf-faces-framework.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
53/71
Oracle ADFRIA-2
3 StructureYearlySalary,query.jspxYearlySalary.
PartialTriggersBehavior,Edit
4Edit PropertySalary,Ok
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHGHI2v0XI/AAAAAAAAAfE/Z-frxIVt29I/s1600-h/t110[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHGFhSMGHI/AAAAAAAAAe8/qUd7TfWh-W8/s1600-h/t109[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
54/71
Oracle ADFRIA-2
5Save All,Run query% A ,
Salary.
YearlySalary Salary
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHGJzpqibI/AAAAAAAAAfU/r_1wsG0WrUo/s1600-h/t111b[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHGIalRBTI/AAAAAAAAAfM/Xka6Cx5h6_g/s1600-h/t111[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
55/71
Oracle ADFRIA-2
,ADF FacesJavascript,Excel
.
menus,DeptEmpPage.jspx1Employees.Insert Inside FacetMenu
2 Property InspectorTextMy Options
3 Property InspectorBehaviorDetachabletrue
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHHr_enJ2I/AAAAAAAAAfw/FV3e-627X0g/s1600-h/t114[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHHqiICVWI/AAAAAAAAAfo/WdwyWi1Femk/s1600-h/t113[2].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHGLOmbSZI/AAAAAAAAAfc/bmccpTggdOk/s1600-h/t112[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
56/71
Oracle ADFRIA-2
4 StructuremenuInsert inside af:menu - My OptionsMenu Item.
property inspector TextExport to Excel.
Export to Excel5 structureOperations ADF Faces Component
Export Collection Action ListenerExport to ExcelStructure
6ExportedIdEdit
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHHv0mO8WI/AAAAAAAAAgI/lEV_3lwKCZs/s1600-h/t116[2].jpghttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHHuf9S8dI/AAAAAAAAAgA/2QtGaov7ztk/s1600-h/t115b[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHHtPS0hZI/AAAAAAAAAf4/jV2lZI5PX3E/s1600-h/t115[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
57/71
Oracle ADFRIA-2
7Edit PropertytablePanelCollection,Ok
excelHTMLType8
Ok
Structure,9Export to Excel
Insert After af:commandMenuItem - Export to Excel
Menu Item
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHHz3ddsCI/AAAAAAAAAgg/puLr5T7VCzQ/s1600-h/t124[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHHyQvvLXI/AAAAAAAAAgY/EKI4HGRDqYU/s1600-h/t120[3].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHHxFDfDiI/AAAAAAAAAgQ/2QFVtGbsBKM/s1600-h/t117[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
58/71
8/14/2019 Oracle ADF RIA
59/71
Oracle ADFRIA-2
14,Export to Excel, Excel
Printable Page15
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHH71pdj7I/AAAAAAAAAhQ/z9yr2tegAsU/s1600-h/t133c[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHH6pOi-zI/AAAAAAAAAhI/6z7y68DJ250/s1600-h/t133b[2].gifhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHH5C18ZQI/AAAAAAAAAhA/4qzBlia7ITw/s1600-h/t133[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
60/71
Oracle ADFRIA-2
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHH9DtWc7I/AAAAAAAAAhY/-1GLHu7IpXs/s1600-h/t133d[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
61/71
Oracle ADFRIA-2
Read Only Business Services Page Fragments Regions
.
JSF.Query Only Business Service Based on Parameters
ADF Business Components View Object.M
New View Objectdemo.model1
2Create View Object ,NameEmpByEmail,Read Only Access through SQL Query
,Next
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/read-only-business-services-page.htmlhttp://hope-sun.blogspot.com/2009/07/read-only-business-services-page.htmlhttp://hope-sun.blogspot.com/2009/07/read-only-business-services-page.htmlhttp://hope-sun.blogspot.com/2009/07/read-only-business-services-page.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHrXm7u4BI/AAAAAAAAAho/FhkhV12mqJU/s1600-h/t135[3].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrWXZYlOI/AAAAAAAAAhg/_a98iP32lLo/s1600-h/t134[3].gifhttp://hope-sun.blogspot.com/2009/07/read-only-business-services-page.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
62/71
Oracle ADFRIA-2
3Create View Object:,select first_name,last_name from employees where email=:p_email
:p_email. Test,Next
4Create View Object,Newbind,Namep_email
Control HintsLabel TextEmail.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrbENdN9I/AAAAAAAAAh8/ktf7Ivxa5cI/s1600-h/t137b[2].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHrZ798QWI/AAAAAAAAAh0/_9J0sd5fJ1M/s1600-h/t137[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
63/71
Oracle ADFRIA-2
5Next,Application Module,Finish
6 Application Module,EmpsByEmail1.
SKINGOk.,
.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHrdvc8BUI/AAAAAAAAAiM/MmSGWRTqg7s/s1600-h/t139[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHrcRl9hiI/AAAAAAAAAiE/48p9XXPcgcE/s1600-h/t138[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
64/71
Oracle ADFRIA-2
Reusable Task Flows, Page Fragments and Regions
.JSF,
.
1ViewControllerNew
Web Tier > JSF,ADF Task FlowOk
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHrgSiyBwI/AAAAAAAAAic/LJKXzbdQIZ0/s1600-h/t141[3].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHreyLcFtI/AAAAAAAAAiU/2szUjEfTbU4/s1600-h/t140[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
65/71
Oracle ADFRIA-2
2Create Task Flowsearch-email-flow.xmlFile NameCreate As Bounded Task FlowCreate with Page Fragments
Ok
3,View Components flowsearchEmail
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrjDP5dSI/AAAAAAAAAis/WOiuWItHCgc/s1600-h/t143[7].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHrhs7gaVI/AAAAAAAAAik/uAdY7zo2fAA/s1600-h/t142[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
66/71
Oracle ADFRIA-2
searchEmail.4 ,file name
searchEmail.jsff.JSF.Ok
5 .Data Controls,EmpByEmail1Operation
ExecuteWithParams.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHrlyeBztI/AAAAAAAAAi8/r_QDBx5P5l4/s1600-h/t145[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHrkee1jYI/AAAAAAAAAi0/btqGx92mxuc/s1600-h/t144[5].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
67/71
Oracle ADFRIA-2
,ExecuteWithParams6Parameters->ADF Parameter Form.
Edit Form Fields,Ok
Edit Form FieldsOk
7ExecuteWithParams,Property inspectorTextFind Details
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHrqgkF2HI/AAAAAAAAAjU/mrs9xNk8vIQ/s1600-h/t148[3].gifhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHroWwSs6I/AAAAAAAAAjM/QmLitBDilpo/s1600-h/t147[2].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrnMEtN2I/AAAAAAAAAjE/OBJDEuQqKHU/s1600-h/t146[2].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
68/71
Oracle ADFRIA-2
From->ADF Read,EmpByEmails1Data Controls8Only Form.
Ok
DeptEmpPage.jspx.9 Components LayoutSeparatorDepartments
DeptEmpPage.jspx
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHrtdLS9kI/AAAAAAAAAjo/CX9RfQBNpqQ/s1600-h/t150[2].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrsL9ln7I/AAAAAAAAAjc/OToZeeuXHn8/s1600-h/t149[4].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
69/71
Oracle ADFRIA-2
10 flow.search-email-flow.xml
DeptEmpPage.jspx separator,Region
:
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHrxGDMY2I/AAAAAAAAAj4/JvTEKmstd5E/s1600-h/t155[3].gifhttp://lh3.ggpht.com/_ddt_bT5CTWA/SlHrvcJEbvI/AAAAAAAAAjw/hQoU-Kykn2I/s1600-h/t154[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
70/71
Oracle ADFRIA-2
11Save All,Run DeptEmpPage.jspx:
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh6.ggpht.com/_ddt_bT5CTWA/SlHr00VV6kI/AAAAAAAAAkI/NLhS_3qh2fM/s1600-h/t156b[3].gifhttp://lh4.ggpht.com/_ddt_bT5CTWA/SlHrzMQ2wiI/AAAAAAAAAkA/bQiTKTKhMZg/s1600-h/t155b[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html8/14/2019 Oracle ADF RIA
71/71
Oracle ADFRIA-2
:
,ADF,ADF Business Components.
http://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.htmlhttp://lh5.ggpht.com/_ddt_bT5CTWA/SlHr2ObTpMI/AAAAAAAAAkQ/kwLRD-eFQRw/s1600-h/t156[3].gifhttp://hope-sun.blogspot.com/2009/07/ria-oracle-adf.html