Building data bound query search forms
The search functionality has become a very essential feature for any enterprise application which may need to deal with tons of data. The Oracle ADF framework has out of the box support for building feature rich search panels when you use the view object for querying the data source. In fact the implementation is much easier than you thought.
ADF uses the model-driven approach for building query components whose query model is derived from the view criteria that you defined in a view object. We have discussed view criteria in Chapter 4, Introducing the View Object, when we talked about view objects. In this section, we are revisiting the same topic to discuss some more points which we deferred then for later discussion.
Building the view criteria
To create a view criteria in a view object, perform the following steps:
Open a view object in the overview editor and then select the Query tab.
In the Query tab, expand the View Criteria section, and click on...