By Shay Shmeltzer-Oracle on Aug 05, 2010
When you bind a method to an ADF page and also include the results of the method on the page , by default ADF will try to execute the method when the page displays so the results can be populated.
However in many cases you actually want to delay this execution until you actually provide some parameters to the method.
You can do this by playing around with the value of the refreshCondition property of the executable binding.
In the video below I show how to expose an EJB method that accepts parameters in a JSF page, and how to show the results on the same page.
Then I show how to prevent the initial method execution if there is no parameter being passed to the method.