In ADF, all the iterators are executed on page load by default.
So, if we have more than 2-3 tables in the page, the initial rendering of the page takes time and causes performance issues.
In this blog, I will explain a way to restrict the iterator's execution on the page load.
Go to your page bindings, select the iterator and set the Refresh property to "ifNeeded" and RefreshCondition to "#{!adfFacesContext.postback}" as below.
This way, we can clear performance issue on page load and execute the iterator only when required.
So, if we have more than 2-3 tables in the page, the initial rendering of the page takes time and causes performance issues.
In this blog, I will explain a way to restrict the iterator's execution on the page load.
Go to your page bindings, select the iterator and set the Refresh property to "ifNeeded" and RefreshCondition to "#{!adfFacesContext.postback}" as below.
This way, we can clear performance issue on page load and execute the iterator only when required.
No comments:
Post a Comment