ADF – Create Dynamic Region
In this article, I’ll discuss with you how to create Dynamic region in your Oracle ADF application,
The dynamic region is: create one JSF page contain multi-pages allow the user to switch between many regions or fragment-pages inside one page.
Example: we have department page that allows user can see all department’s Employees in different styles, List of Employees, Employee Form, Employee statistics graph.
1- ADF Application
2- One JSF page (Departments )
3- Three Bounded Taskflows
4- Three JFSS pages
5- DepartementVO as Master , EmployeesVO as Details with ViewLink between them
Let us start …
Create New Application
2. Create Business Components from Table
3- Create Three bounded TaskFlow (to create the Dynamic Regions)
Create Thee Bounded Task flow , each task flow contains one JSFF as JSF fragment page
4- Create JSF page <Department JSF > as main page
Drage DepartmentVO as DatControl into DepartmentPage , af Form .
This Page may contain two sections, First section for Department and another for Dynamic Regions
5- Create JSFF pages will represent Regions or fragments inside DepartmentPage
– Drag Employee Datasource as a Form in EmpForm.jsff page
– Drag Employee Datasource as a tabke in EmpTable.jsff page
– Drag Employee Datasource as a DVT in EmpDVT.jsff page
6- Drag Emp-Form bounded Taskflow as Dynamic Region into First Facets in panel Splitter
7- Create manage Bean Class for Register Taskflow navigation, after drag first Tasjflow as a Dynamic region, ADF will as you about JavaBean m to write a navigation Code,
– Check Scope of JavaBean is ViewScope
9- Dragbounded Taskflow as Dynamic Region Links
– Drag Emp-Form bounded Taskflow as Dynamic Region Link
– Drag Emp-Table bounded Taskflow as Dynamic Region Link
– Drag Emp-DVT bounded Taskflow as Dynamic Region Link
Now will find three Links to navigate between JSFF regions.