This discussion is archived
4 Replies Latest reply: May 28, 2013 11:20 AM by user6003393 RSS

How to display data when page loads

user6003393 Newbie
Currently Being Moderated
I am using JDeveloper/Oracle ADF 11.1.2.3.0.

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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points