Database Reference
In-Depth Information
Figure 5-34.
Login and Logout buttons
Clearly it's a problem to show the Login and Logout choices at the same time. After
all, only one of those two choices can apply. Let's tackle that problem:
1.
Navigate back to the
Shared Components
section for the Help Desk ap-
plication.
2.
Edit
Navigation Bar Entries
, and edit the
Logout
item.
3.
In the
Conditions
section of the page, set
Condition Type
to
User is
Authenticated (not public)
, as shown in
Figure 5-35
.
Figure 5-35.
Navigation bar condition type
4. Click
Apply Changes
.
Run the application again. You should see that the Login and Logout navigation
items are mutually exclusive. When you created the new navigation item, you applied
the condition to allow it to be seen only by the public user. The Logout navigation item
was created as part of the Create Application Wizard; no condition was placed on the
Logout item by default. You learn more about conditions in
Chapter 8
.
Global Pages
A
Global Page
is a special type of page that acts as a “master page” for your applica-
tion and can be added one per user interface type (that is, you may have one Global
Page for the desktop UI and another for the mobile UI).