PK
6(Aoa, mimetypeapplication/epub+zipPK 6(A iTunesMetadata.plistW
This section provides important background information about creating and managing pages within and application.
This section contains the following topics:
A Page Definition is the basic building block of a page. Each page can have buttons and fields (called items), which are grouped into containers called regions. Pages can also have application logic (or processes). You can branch from one page to the next using conditional navigation; perform calculations (called computations); perform validations (such as edit checks); and display reports, calendars, and charts. You view, create, and edit the controls that define a page by accessing the Page Definition.
Topics in this section include:
You can view, create, and edit the controls that define a page through the Page Definition.
To access the Page Definition for an existing page:
On the Workspace home page, click the Application Builder icon.
The Application Builder home page appears.
Select an application.
The Application home page appears.
Select a page.
The Page Definition appears.
A Page Definition is the basic building block of a page. You use the Page Definition to view, create, and edit the controls and application logic that define a page. The sections that follow describe the different parts of the Page Definition.
Topics in this section include:
A navigation bar appears directly beneath the breadcrumb trail.
Available controls on the page navigation bar include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
Previous and Next. These buttons resemble less than (<) and greater than (>) signs. Click these buttons to move to the previous or next page.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
The following buttons appear to the right of the navigation bar:
Run. Submits the current page to the Application Express engine to render viewable HTML. See "Running a Page or Application".
Copy. Creates a copy of the current page. You specify a page number and page name.
Create. Links to a wizard for creating a page. See "Creating a Page from the Page Definition".
The Run Page, Shared Components, Comment, Lock, Export Page, and Find icons display on the Action bar.
The Run Page icon resembles a small, light green traffic light. Click this icon to render the current page into viewable HTML. When you run a page, the Application Express engine dynamically renders the page based on data stored in the database. See "Running a Page or Application".
The Shared Components icon resembles a small mechanical gear. Click this icon to view a list of shared components and user interface controls that can display or be applied on every page within an application. See "Working with Shared Components".
The Developer Comment icon resembles a green balloon. Use this icon to add comments to an application, a page, or a group of pages. See "Adding Developer Comments".
The Lock icon indicates whether a page is available for editing. If a page is unlocked, the icon appears as an open padlock. If the page is locked, the icon appears as a locked padlock. Click this icon to change the lock status. See "Locking and Unlocking a Page".
The Export Page icon resembles a downward arrow. Click this icon to export the current page. See "Exporting a Page in an Application".
The Find icon resembles a flashlight. Click this icon to search for items, pages, queries, tables, PL/SQL, images, and cascading style sheets (CSS) within the current application or the schemas associated with the workspace. See "Using the Find Icon".
Every Page Definition is divided into three sections:
Page Rendering. Page rendering is the process of generating a page from the database. The Page Rendering section lists user interface controls and logic that execute when a page is rendered. See "About Page Rendering".
Page Processing. Page processing occurs once a page is submitted. Typically a page is submitted when a user clicks a button. The Page Processing section lists logic controls (such as computations and processes) that are evaluated and executed when the page is processed. See "About Page Processing".
Shared Components. The Shared Components section lists common components that can be used by one or more pages within an application. See "About Shared Components".
You can use the View list to quickly switch from a Page Definition to the Page Events, Database Object Dependencies, History, Export, Groups, and Referenced Components pages.
Topics in this section include:
To access other pages using the View list:
Navigate to the Workspace home page.
Click the Application Builder icon.
Select an application.
Select a page.
The Page Definition appears.
From the View list, select one of the following:
Definition. See "Editing a Page Definition".
Events. See "About Page Events".
History. See "About History".
Export. See "About Export".
Groups. See "About Groups".
Referenced. See "About Referenced".
Page Events details all currently defined page controls and processes. This page provides a chronological view of how and in what order the Application Express engine renders the page, invokes logic, and runs processes.
A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
Show All displays all possible page controls and processes, including those not currently defined.
Show Used displays currently used page controls and processes (Default).
Previous and Next. These buttons resemble less than (<) and greater than (>) signs. Click these buttons to move to the previous or next page.
To view details about a specific page control or process, click the appropriate hypertext link. Alternately, you can create page controls and processes by clicking the small icons to the left of each entry.
The Database Object Dependencies page displays a list of database objects referenced by the current page.
A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
Previous and Next. These buttons resemble less than (<) and greater than (>) signs. Click these buttons to move to the previous or next page.
The History page displays a history of recent changes to the currently selected page by developer (or user), application, page number, modification date, component, and action.
A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
Display. Determines how many pages display. To change the number of pages that appear, make a selection from the Display list and click Go.
Previous and Next. These buttons resemble less than (<) and greater than (>) signs. Click these buttons to move to the previous or next page.
Use the Export page to export the current page and its referenced components. A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
The Groups page displays all pages that are part of the same page group as the current page. Click a page number to edit the page group. Click a page name to view the page definition.
A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
Display. Determines how many pages display. To change the number of pages that appear, make a selection from the Display list and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
The Referenced Components page lists page components and shared components associated with the current page.
A navigation bar appears directly beneath the breadcrumb trail. Available controls include:
Page. Displays the current page number. To view another page, enter the page number in the Page field and click Go.
View. Controls the current page view. To view alternative reports, make a selection from the list and click Go. See "Using the View List on the Page Definition".
Previous and Next. These buttons resemble less than (<) and greater than (>) signs. Click these buttons to move to the previous or next page.
A page is the basic building block of an application. Each page has a page number, a name, and typically some text attributes such as a header, title, and footer. You add content to your page by creating page controls (regions, items, and buttons). Page templates and page region templates control the exact look and feel of each page.
Topics in this section include:
Each Page Definition is divided into three sections: Page Rendering, Page Processing, and Shared Components. Each of these sections is broken into subsections with headings that identify the type of control, component, or application logic.
You can edit all controls, components, or logic within a given subsection by clicking the Edit All icon that displays to the right of the subsection title. The Edit All icon resembles a small grid with a pencil on top of it.
Clicking the Edit All icon displays pages that enable you to edit or delete multiple controls, components, or application logic simultaneously or view a history of recent changes.
For example, selecting the Edit All icon under Regions displays a summary report of all currently defined regions on the current page. You can use this summary view to:
Edit the multiple attributes at once by making selections from the available fields and select lists.
Link to a definition page by clicking the Edit icon.
You can access similar summary views on the next or previous page by clicking the Next and Previous buttons at top of each page. To save your edits to any summary view, click Apply Changes.
You can also view the attributes of a specific control or component by selecting its name on the Page Definition. For example, suppose your Page Definition contains a region named Customers. Clicking the region name Customers would display an attributes page for that region.
You can copy or create controls or components by clicking the Copy and Create icons. The Copy icon resembles two small overlapping pages. Click the Copy icon to make a copy of an existing control or component.
The Create icon resembles a plus (+) sign overlapping a small page. Click the Create icon to create a control or component.
You can quickly change the order in which regions, button, and items display using the Reorder icon on the Page Definition. The Reorder icon displays as a light green downward arrow and upward arrow.
To reorder page components, click the Reorder icon. When the Reorder page appears click the up and down arrows and then click Apply Changes.
Page rendering is the process of generating a page from the database. Use the Page Rendering section to modify controls that impact the rendering of a page, including page attributes, regions, buttons, items, page rendering computations, and page processes.
You can quickly navigate to a specific subsection by clicking the icons beneath the heading. When you select one of these icons, the subsection appears and all other subsections are temporarily hidden. To restore the view, click Show All. The Show All icon resembles an inverted triangle.
Topics in this section include: