Thursday Aug 05, 2010

Delay Method Execution When Using ADF Binding

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.

About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today