Database Reference
In-Depth Information
Attribute
Value
Title
Actions
Region Template
Sidebar Region, Alternative 1
Display Point
Page Template Region Position 3
5.
Click
Next
.
6.
Choose
Home Page List
for the
List
to display, and choose
Vertical
Unordered Lists with Bullets
for
List Template
, as shown in
Figure 5-57
.
Figure 5-57.
Selecting the list to be used in the region
7.
Click
Next
.
You could stop now, end the wizard, and have your display region. But you really
don't want your navigation links to display on each and every page. Specifically, you
don't want them to display on the login page.
In this instance, you can create a display condition for the lists region. In your ap-
plication, the login screen is page number 101. The remainder of the public pages that
you create will have page numbers less than 100. You can set up a PL/SQL condition
that evaluates the page number and returns
TRUE
when the page ID is less than 100.
The page number can be referenced using the substitution variable
:APP_PAGE_ID
.
The condition enables the display of your list region only on the non-login pages:
8. Set
Condition Type
to
PL/SQL Function Body Returning a
Boolean
.
9. Set
Expression 1
to the following code:
IF :APP_PAGE_ID <100 THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;