This content has been marked as final. Show 3 replies
You have to use "Activation" property of Task Flow bindings. You'll have to set Activation to conditional and set an EL Expression that returns a boolean for activate it.
Try to follow next idea:
- Create a boolean variable in a scope bean to manage activation (initially false). Associate this variable to activation conditional property of the Task Flow.
- Create an ADF Phase Listener to change boolean value to true after Render phase.
- Set Refresh property of Task Flow (in page binding like activation) to IfNeeded. It indicates to refresh every time that a property change.
I hope this help you.
Update: It isn't a Asynchronous load, but it is solution for load page without wait all Task Flows.
Edited by: Daniel Merchán on 15-nov-2012 22:22
Edited by: Daniel Merchán on 15-nov-2012 22:24
Thanks for the suggestion.
I'm just wondering if that will work in this case though, because the task flows are added to the page dynamically using the WebCenter Resource Catalog. They are not regions on a page in the normal sense, so I don't think I have access to the activation property.
If you are using Oracle Composer to add your Task Flows then you can do something similar, but require more work. The idea in my mind is:
- ADF Phase Listener to change a boolean variable to "true" for activation property.
- Change MDS pageDef for change activation properties of your Task Flows. You can achieve it with Customization Manager Task Flow (composer add-on).