X

Shay Shmeltzer's Oracle Development Tools Tips

  • August 5, 2010

Delay Method Execution When Using ADF Binding

Shay Shmeltzer
Director of Product Management - Oracle

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.

Join the discussion

Comments ( 3 )
  • guest Thursday, April 19, 2012

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

    Thanks


  • shay Friday, April 20, 2012

    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


  • guest Tuesday, November 15, 2016

    This does not work for me.

    Initially page shows empty -this part works. but it completely disables search interface


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.