12.4.3 Editing Regions
Alter the appearance of a page by editing Region attributes.
- Editing Region Attributes
Edit Region attributes in Page Designer. - Controlling Region Positioning
Use the Layout, Position attribute to select the template position used to display this region - Specifying a Region Header and Footer
Edit the Header and Footer attributes to specify additional HTML to be placed above and below a region. - Utilizing Region Caching in Page Designer
Enable region caching to improve the performance of static regions such as regions containing lists that do not use conditions or regions containing static HTML. - Enabling Users to Customize a Page
Use the Customizable attribute to control whether display attributes in a region can be customized by users. - Specifying a Static Region ID
Specifying a static region ID is useful when creating custom JavaScript or cascading style sheets. - Adding a Region Image
Use Region Image and Image Tag Attributes to add an image to the upper left side of a region. - Creating a Region Display Selector
Create a Region Display Selector region to include show and hide controls for each region on a page. to include the current region in the Region Display Selector.
Parent topic: Managing Regions
12.4.3.1 Editing Region Attributes
Edit Region attributes in Page Designer.
To edit region attributes:
See Also:
Parent topic: Editing Regions
12.4.3.2 Controlling Region Positioning
Use the Layout, Position attribute to select the template position used to display this region
The template positions defined within the current theme for the page's user interface determine the available selections.
Parent topic: Editing Regions
12.4.3.3 Specifying a Region Header and Footer
Edit the Header and Footer attributes to specify additional HTML to be placed above and below a region.
For all report regions, the substitution string #TIMING#
shows the elapsed time in seconds used when rendering a region. You can use this substitution string for debugging purposes.
For classic report regions, the region footer supports the following substitution strings:
-
#ROWS_FETCHED#
shows the number of rows fetched by the Oracle Application Express reporting engine (the page size). You can use these substitution strings to display customized messages to the user. For example:Fetched #ROWS_FETCHED# rows in #TIMING# seconds.
-
#TOTAL_ROWS#
displays the total number of rows that satisfy a SQL query used for a report. -
#FIRST_ROW_FETCHED#
and#LAST_ROW_FETCHED#
display the range of rows displayed. For example:Row(s) #FIRST_ROW_FETCHED# through #LAST_ROW_FETCHED# of #ROWS_FETCHED# displayed
Parent topic: Editing Regions
12.4.3.4 Utilizing Region Caching in Page Designer
Enable region caching to improve the performance of static regions such as regions containing lists that do not use conditions or regions containing static HTML.
Tip:
Region caching is not available for interactive report regions.
See Also:
"Managing Page and Region Caching" in Oracle Application Express Administration Guide
Parent topic: Editing Regions
12.4.3.4.1 About Region Caching
When you enable region caching, the Application Express engine renders a region from a cached (or stored) repository instead of rendering it dynamically. Keep in mind that the actual session identifiers are not cached. Instead, the Application Express engine caches a &SESSION.
substitution string and the current session rendering the cached region is substituted on display. For example, if a region contains a link and the link includes a session, the exact session is not cached to ensure that the links works for all sessions.
The Application Express engine only renders a region from cache if it meets the defined condition. Additionally, regions can be cached specific to a user or cached independent of a user.
Parent topic: Utilizing Region Caching in Page Designer
12.4.3.4.2 Enabling Region Caching
To enable region caching:
Parent topic: Utilizing Region Caching in Page Designer
12.4.3.5 Enabling Users to Customize a Page
Use the Customizable attribute to control whether display attributes in a region can be customized by users.
To use this feature, you must include the #CUSTOMIZE#
substitution string in the Header, Body, or Footer section of the page template.
If at least one region supports end-user customization, a
Customize link appears wherever you include the
#CUSTOMIZE#
substitution string in the page template. When
users click this link, a window appears, enabling them to display or hide regions on
the page.
To enable end user customization:
See Also:
Parent topic: Editing Regions
12.4.3.6 Specifying a Static Region ID
Specifying a static region ID is useful when creating custom JavaScript or cascading style sheets.
You can use the Static ID attribute on the Edit Region page to uniquely
identify a region. You can then reference the region using the
#REGION_STATIC_ID#
substitution string in a region templates,
the header, the footer, or the body.
A static region ID is included by assigning it as an HTML element ID to the region container object (that is, the table or DIV). The ID of an HTML element must be unique for the entire page. For example, to keep the page HTML valid you cannot have a button and region with the same ID.
To specify a static region ID:
Parent topic: Editing Regions
12.4.3.7 Adding a Region Image
Use Region Image and Image Tag Attributes to add an image to the upper left side of a region.
To add a region image:
Parent topic: Editing Regions
12.4.3.8 Creating a Region Display Selector
Create a Region Display Selector region to include show and hide controls for each region on a page. to include the current region in the Region Display Selector.
To create a Region Display Selector:
Parent topic: Editing Regions