Application Express User's Guide > Using Application Builder > Editing a Page Definition > Editing Page Attributes
Editing Page Attributes |
Previous |
Next |
Page attributes only apply to a specific page. You access page attributes from the Page Definition.
To edit page attributes:
Navigate to the Page Definition:
Navigate to the Database Home Page.
Click the Application Builder icon.
Select an application.
Select a page.
The Page Definition appears.
At the top of the page, click Edit Attributes.
The Page Attributes page appears. Required values are marked with a red asterisk (*).
The topics that follow describe the specific sections of the Page Attributes page.
Use these attributes to define general attributes for the current page such as a page name, an optional alphanumeric alias, and associated page groups. Table: Page Attributes: Display Attributes describes these attributes.
Page Attributes: Name
Attributes | Descriptions |
---|---|
Identifies the name of the current page for application developers. This name is used in numerous pages and reports, along with the page ID and page title. |
|
Enter an alphanumeric alias for this page. This alias must be unique within the current application. For example, if you were working on page 1 of application 100, you could create an alias called f?p=100:home |
|
Identify the page group you would like to associate with this page. Page groups do not affect functionality, but help developers manage the pages within an application. See Also: "Grouping Pages" |
Use these attributes to define general display attributes for the current page such as the selected page template, standard tab set, title, and cursor focus. Table: Page Attributes: Display Attributes describes these attributes.
Page Attributes: Display Attributes
Attributes | Descriptions |
---|---|
Select a page template to control the appearance of this page. Making a selection here overrides the default page template defined within the current theme. See Also: "Changing Default Templates in a Theme" |
|
Select a standard tab set to be used for this page. A standard tab set is associated with a specific page and page ID. You can use standard tabs to link users to a specific page. See Also: "Creating Tabs" |
|
Enter a title to display in the title bar of the browser window. The Application Express engine uses the title you specify here in place of the |
|
Select whether or not you want the cursor focus to be placed in the first field on the page. Select Do not focus cursor if you do not want to include JavaScript. |
Use these attributes to define page header, body header, body footer, and page footer text. Table: Page Header, Footer and Text Attributes describes these attributes.
Page Header, Footer and Text Attributes
Attribute | Description |
---|---|
Enter the text of the HTML to display after the page template header and before page template body. |
|
Enter the text of the HTML to display before showing regions. Displays before the page template |
|
Enter the text of the HTML to display after page template body and before page template footer. |
Use this attribute to replace the #HEAD#
substitution string in the page template header. The values entered here are inserted after the HTML <HEAD>
tag. Common uses of these attributes:
Use this attribute to add events when the page is being loaded, such as calls to JavaScript. In the Page HTML Body Attribute, enter JavaScript or text to be substituted for your page template's #ONLOAD#
substitution string. To use this feature, your page template must include the #ONLOAD#
substitution string.
You can use the Page HTML Body attribute to write into the contents of the opening <body>
tag. A typical page template might use #ONLOAD#
within the opening <body>
tag as shown in the following example:
<html> <head> ... </head> <body #ONLOAD# >
Use these attributes to specify an authorization scheme, authentication, and URL access protection for the current page. Table: Page Attributes: Security describes these attributes
Page Attributes: Security
Attribute | Description |
---|---|
Select an authorization scheme to be applied to the page. Authorization schemes are defined at the application level and can be applied to many elements within the application. An authorization scheme is evaluated either once for each application session (at session creation), or once for each page view. If the selected authorization scheme evaluates to true, then the page displays and is subject to other defined conditions. If it evaluates to false, then the page will not display and an error message displays. |
|
Specifies whether this page has been defined as public or requires authentication. If a page is identified as public, the page can be viewed before authentication. This attribute only applies if the application uses SCHEME authentication. The application's page sentry function can access this page attribute to identify pages that do not require prior authentication to view. The implementation of the authentication scheme's page sentry function determines if this attribute has any effect. See Also: "Establishing User Identity Through Authentication" |
Use the Allow duplicate page submissions list to specify whether or not users may process a page multiple times in a row. Set this attribute to No to prevent duplicate page submissions from being processed multiple times.
Examples of duplicate page submissions include:
A user clicks the Submit button multiple times.
You create a branch of type Branch to Page, and the user clicks the browser reload button.
Build options allow you to enable or disable functionality. Most application attributes have a build option attribute. Do not specify a build option for the current page unless you plan to exclude the page in certain configurations.
Build options have two possible values: INCLUDE
and EXCLUDE
. If you specify an attribute as being included, then the Application Express engine considers it part of the application definition at run time. Conversely, if you specify an attribute as being excluded, then the Application Express engine treats it as if it does not exist
Use this attribute to specify the error text that displays in the #NOTIFICATION_MESSAGE#
template substitution string in the event an error occurs on the page.
Use this attribute to enter Help text for the current page.
Help text is displayed using a help system that you must develop. To show the Help for a specific page, call the HTMLDB_APPLICATION.HELP
procedure from a page that you create for displaying Help text. For example, you could use a navigation bar icon similar to:
f?p=4000:4600:&APP_SESSION.::&DEBUG::LAST_STEP:&APP_PAGE_ID
Page-level help supports shortcuts using the following syntax:
"SHORTCUT_NAME"