Combining Multiple Queries and Parameters into One Operation

Posted by shay.shmeltzer on Oracle Blogs See other posts from Oracle Blogs or by shay.shmeltzer
Published on Tue, 28 Dec 2010 10:25:04 -0800 Indexed on 2010/12/28 18:57 UTC
Read the original article Hit count: 343

Filed under:
|

This question came up twice this week and while the solution is explained in a couple of previous blog entries I did, I thought that showing off the complete solution in a single video would be nice.

The scenario is that you have two VOs with queries that are based on a parameter, I showed in the past how to create a parameter form that executes the query - and you can do this for both.
But what if you actually need just one value to drive both queries? How do you combine two parameter forms and two buttons into one?

This is what this video shows you. The steps are:
Creating two parameter forms
Setting the value of a parameter in the binding tab
Creating a backing bean to execute the code for one button
Adding the code to execute another operation
Remarking the parts that can be dropped from the screen

Check it out here:

© Oracle Blogs or respective owner

Related posts about binding

Related posts about parameter