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.

Comments:

video is not available... can u provide code or a wiritten description?
Thanks

Posted by guest on April 19, 2012 at 11:17 AM PDT #

guest - You need to be able to access YouTube to watch the demo - you can also see it here:
http://www.youtube.com/watch?v=704w8786i14

Posted by shay on April 20, 2012 at 03:43 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
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