Home arrow Oracle arrow Page 4 - Sub-templates and More with Oracle HTML DB

Image-based Tab Attributes - Oracle

In this third part of a three-part article covering Oracle HTML DB, you'll learn about sub-template definitions and more. This article is excerpted from the Oracle HTML DB Handbook, written by Lawrence Linnemeyer and Bradley Brown (McGraw-Hill, 2006; ISBN: 0072257687).

  1. Sub-templates and More with Oracle HTML DB
  2. Sub-template Definitions
  3. Standard Tab and Parent Tab Attributes
  4. Image-based Tab Attributes
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 4
April 12, 2007

print this article



This section allows you to use an image for a specific tab. If you are going to use images for your tabs, you need to place <td>#TAB_IMAGE#</td> in each of these fields, although the help for each of these fields tells you to put in <td>#TAB_TEXT#</td>. The images that will be displayed are actually defined in the definition of the individual tabs. The Edit Standard Tab page contains an Images section. In this section, you specify two images for the tab—one for when the tab is the current tab and one for when the tab is not the current tab. There is also a field for entering HTML attributes for the images, such as border, width, and height.

Multicolumn Region Table Attributes

When the HTML DB engine displays regions in columns in the same region position, it renders them in an HTML table. This section contains a single field, Region Table Attributes. This field allows you to control the attributes of the table that the HTML DB engine creates for displaying multiple columns of regions in the same region position. The values entered in this field will be incorporated into the <table> tag.

Error Page Template Control

This section is where you format the display of the error message and the link to return to the page that produced the error. A default error page can be specified for a theme, as described in the earlier section “Specifying a Theme’s Default Template” and shown in Figure 6-3. In the template specified as the default error page, you would want to add code to this section for formatting the error message. If you do not specify a default template for the error page, and an error is specified to display on a separate error page, the template for the current page will be used as the template for the error page. Therefore, this section can be utilized in any page template, whether it is the default error page template or not.

Two substitution variables are used in the Error Page Template field: #MESSAGE# and #BACK_LINK#. These two variables take care of displaying the text of the error message and providing a link back to the originating page. The following code listing is a simple example of HTML code that you might use to format this section:

<img src="#IMAGE_PREFIX#error.gif">#MESSAGE# <br>
<a href="#BACK_LINK#">Return to previous page to correct the error</a>

>>> More Oracle Articles          >>> More By McGraw-Hill/Osborne

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Oracle Java Security Woes Continue
- Oracle's New IaaS Cloud Option: There's a Ca...
- Oracle Acquires Eloqua to Boost Cloud Presen...
- Choosing Innovation: Oracle Survey Insights
- Oracle Fixes Privilege Escalation Bug
- Oracle`s Communications Service Availability...
- Oracle Releases Exalytics, Taleo Plans
- Oracle Releases Communications Network Integ...
- Oracle Releases Communications Data Model 11...
- Oracle Releases PeopleSoft PeopleTools 8.52
- Oracle Integrates Cloudera Apache Distro, My...
- Oracle Releases MySQL 5.5.18
- Oracle Announces NoSQL Database Availability
- Sorting Database Columns With the SELECT Sta...
- Retrieving Table Data with the LIKE Operator

Developer Shed Affiliates


Dev Shed Tutorial Topics: