Basics of Adf Task flow
Task flow : Task
flow supports modular approaches in adf applications, it is contain portion of
navigation ,main propose is reusability
TF is of two types
·
Typical application will have a bounded task flow and multiple unbounded
task flows
· Adfc-config.xml is an unbounded task flow created by default when we create
a fusion web application
1) Bounded TF
a. Bounded TF is having well statured boundary
b. Reusability of TF
c. Can take i/p parameter and return values
d. Secured
e. Single entry point multiple exit point
2) Unbounded TF
a. Public pages
b. No reuse
c. It will not take i/p parameter and not return any values
d. Not much secured
e. Multiple entry point
multiple exit point
Task flow components
1) View : display
only pages or fragments ,extension
jsff.jspx,jsf
2) Method call
:allow to call application logic
in TF
3) Router :route any activity based on el
expression ,no limits on destination
4) Task flow call
: call another TF from BTF and UBTF,
5) URL :used to redirect application to addressable URL
6) Save point restore
:allow to restore application to previous state
7) Task flow return
:used end TF or send controller to back
8) Parent action
: allow to trigger navigation parent
view activity in
9) Wild cards *
:global navigation case
How to create
simple task flow in ADF
1) Right click of project new->jsf->adf task flow
a. Give proper name for TF and it should be is bounded TF
2) Drag the Two view from component window to the TF
3) Drag the control view case and connect view1 and view 2 and
give navigation flow name GOTO and BACK
4) Double click on view it will automatically create jsff fragment and
5) In view on add button from component window name as goto
6) In view 2 add button from component window back
7) If select button it will give property inspection window in
that select action go for goto button and similar in view 2 also (back for back
button)
8) And create one jspx page and drag the taskflow for project
window to jspx page create as region
9) At last save and run the jspx page .
No comments:
Post a Comment