4 Replies Latest reply: May 28, 2013 1:20 PM by user6003393 RSS

    How to display data when page loads

      I am using JDeveloper/Oracle ADF

      I have a jsf page with a table that was build via a named query. I selected the search with table option when dragging the named query onto the page.

      The named query uses a bind variable that is not set with the page loads; therefore, no data is display even though the query is executed.

      But, I can then click the Search button and data is displayed.

      I tried setting the default value of the bind variable to "%" in the VO, but that didn't work.

      So, is there a way that I can get all data displayed when the page loads. Maybe programmatically invoking the clicking of the Search button?

      Thanks for your assistance.