Creating a detail region
We will now create the detail region for our page. The detail page will be based upon our EmpSocietiesVO1 view instance, and will be linked to the master region by the view link we defined earlier on in the chapter.
In this section, we will cover the following tasks
Adding a detail region (RN)
Creating the detail region (RN) items
Adding a show/hide attribute
Adding sortable headers
Adding a detail region (RN)
We are now going to create the detail region and items.
How to do it...
To create a detail region, perform the following:
Click on the EmpSocietiesPG.xml page in the Application Navigator tab.
In the Structure pane, right-click on the EmpMasterRN region and select New | detail from the pop-up menu as shown in the following screenshot:
Click on the new region (region1) in the Structure pane, and set the following properties:
ID:
EmpDetailRN
Region Style:
header
Text:
Clubs and Societies
The following detail pane will now appear:
Right-click on the EmpDetailRN region, and...