Forum Stats

  • 3,816,514 Users
  • 2,259,197 Discussions
  • 7,893,501 Comments

Discussions

rollback between multiple regions

Habib Eslami
Habib Eslami Member Posts: 407 Blue Ribbon
edited Aug 2, 2015 7:19AM in JDeveloper and ADF

Hi everyone,

I use jdev 11.1.1.7.0

In my case I have to add multiple TaskFlows as a region into main page and all this regions use a same application module(root App Module) and in each region I have a commit and rollback button.

when I click rollback in a region, only components inside this region are reset but I also need to reset components in other regions. I've found this : https://blogs.oracle.com/vijaymohan/entry/rollback_button_with_the_property_immediate_set_to_true_doesnt_rollback_values_from_a_task_flow

but it isn't exactly my case and I can't use this way in my application, I'm wondering if anybody has any suggestion for this case (also I don't want to set 'immediate' property to 'false' for rollback button and transaction behavior of all taskflows are default).

the main page is something like below:

<f:view>  
<af:document id="d1">  
  <af:form id="f1">  
  <af:panelGroupLayout id="pgl1" layout="scroll">  
   <af:region value="#{bindings.departmentflow1.regionModel}" id="r1"  
  partialTriggers="::r2"/>  
   <af:region value="#{bindings.employeeflow1.regionModel}" id="r2"  
  partialTriggers="::r1"/>  
  </af:panelGroupLayout>  
  </af:form>  
</af:document>  
</f:view>  

Regards,

Habib

Tagged:

Answers

This discussion has been closed.