Thursday Dec 03, 2009

ADF Query with Parameters and List of Values

This one is probably for ADF beginners, but it is a very common use case - so having a little demo can never hurt.
The goal is to enable the user to select a few values from drop down lists and based on these values filter the results of a query and display them in a table.
In our case we want to filter employees by the department they work in and the salary they have. And we want to show a list of departments that the user can choose from.

All you need to do is create an ADF BC view object with bind parameters, and then in your page drag the parameters one by one to the page to drop them as select lists.

See this demo:

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