Databases Reference
In-Depth Information
Transactions
A bounded task low supports transacions, which makes it unique when compared
to unbounded task low. The opions available for transacion management within
the task flow are as follows:
No controller Transacion : This is the default opion, which means that the task
low will not take part in any transacion. There will always be a transacion if we
use the ADF Business components.
Always Use Exising Transacion : The transacion which is already in use is taken
by the task low always. This requires the calling task low to start a transacion.
Use Exising Transacion If Possible : This opion will look for available exising
transacions when the task low is called. If it is available, then the transacion
is taken, otherwise, a new transacion is created.
Always Begin New Transacion : This opion will always create a new transacion,
regardless of whether a transacion already exists or not. The created transacion
will end when the task low starts exiing.
Share data control with calling task flow: : The data control can be shared
between task lows using this opion. The called task low can change or
modify the data from the data control owned by the calling task flow.
No save point on task flow entry : This opion will restrict the transacion to
create the ADF model save point on the task flow.
Task flow as a region
By now, you will have understood clearly the usage of task flows as a powerful component in
building interacive lows in the web applicaion. For example, the createDepartmentFlow
task low can be added to the page fragments so that the enire content of the bounded
task low can be uilized inside the fragments itself. Bounded task lows added to the page
fragments as af:region will have the reference in the page deiniion ile as task low
bindings. The reference to the task low is added as a value poining to the RegionModel
framework API. You can pass a parameter to the task flow using the task flow bindings.
Time for action - adding a task flow as a region
Now we will see how to add a task flow to the page fragment file:
1. Double-click on the employee.jspx file from the Structure window. This will open
up the file for you.
2.
Now select createEmployeeFlow.xml from the applicaion navigator.
 
Search WWH ::




Custom Search