Here is a good approach to prevent VO execution on pageload.
In 10g, ${adfFacesContext.postback == true} property is used as Refresh Condition for the VO iterator to stop its execution on Pageload.
11g has a good feature of taskflows, so we can create a default method.
Create a method in Application Module and execute a emptyRowSet on VO, this will executes the VO but returns 0 results(by appending false condition) and use this as default activity method in the taskflow.
In 10g, ${adfFacesContext.postback == true} property is used as Refresh Condition for the VO iterator to stop its execution on Pageload.
11g has a good feature of taskflows, so we can create a default method.
Create a method in Application Module and execute a emptyRowSet on VO, this will executes the VO but returns 0 results(by appending false condition) and use this as default activity method in the taskflow.
No comments:
Post a Comment