Wednesday, July 1, 2015

When to use ADF Region Activation Property?

Configuring ADF region activation property can improve the performance of an ADF page. In this post, I would like to explain on when to use this property.

I had a requirement to display several ADF regions as Tabs. Normally, we have dynamic regions to display as Tabs and user clicks on Tab we launch the Region for that Tab. But, there was another requirement that session/state on the previous tab must be always active. So, I have decided to use static ADF regions.

By doing this, I have noticed that whenever the page loads underneath all the page bindings get executed and all the regions were loading. It was taking around 20 to 30 secs to load the page which is more than the SLA.

I have used the activation property in ADF regions to activate with a condition. The region gets loaded only when the condition was true. I was setting the condition to true when user was clicking on the Tab. This drastically improved the performance of the page.

Below blog post will give details about how to activate the property. Leave a comment if you have any questions or need help.

https://blogs.oracle.com/adf/entry/how_to_set_conditional_activation_to_taskflows


No comments:

Post a Comment