Monday, October 28, 2013

Search page using Query Region



Search page using Query Region


First create one workspace and project.

Create one AM.

Create the page and attach the AM to page.

Create the VO.

select * from fwk_tbx_employees

Attach VO to AM.

Select the page in main region right click select new region and set the Region style as query.

And in the property inspector set the following property.

Construction Mode--- >resultBasedSearch.



Right click on query region select new-- > Region using Wizard.

First u will get the welcome window just click next .

In next window select your AM and VO.
Click next.



In next window select  region style as table.



In next step select the attributes u want to display.




Click next, next and finish.


The structure of the page is as follows.



For each item set the property search allowed to true





Run the page to see the output.

If u use Query region then there is no need to create search and clear button they will come automatically


1 comment: