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

Sub-templates and More with Oracle HTML DB

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).

TABLE OF CONTENTS:
  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
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Footer

The Footer section contains the HTML tags and substitution variables for the Footer section of the HTML document. Generally little is placed in this section. If you want to consistently conclude your page with something, this is where it will go. The following is a listing of code from the Footer section of the template for the page displayed in Figure 6-8.

<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="">
 
<tr>
   
<td>
     
<img src="#IMAGE_PREFIX#themes/theme_1/ bot_bar_left.png" alt="" />
    </td>
    <td class="t1BotbarMiddle">
     
<div id="t1user">&APP_USER.</div>
    </td
    <td class="t1BotbarMiddle">
      <div id="t1copy">Copyright Here</div>
    </td>
    <td>
     
<img src="#IMAGE_PREFIX#themes/theme_1/ bot_bar_right.png" alt="" />
   
</td>
 
</tr>
</table>
<br/>
#FORM_CLOSE#
</body>
</html>

This example contains several substitution variables. The #IMAGE_PREFIX# variable is used again in specifying the images that make up the solid bar seen across the bottom of the screen in Figure 6-8. Notice that the user and the copyright notice appear to be in the solid bar. The bar is actually made up of the left image and the right image and two <td class=”t1BotbarMiddle”> tags. The class definition gives the table cells the proper background and size to blend seamlessly with the two images.

The last substitution variable is the #FORM_CLOSE# variable. Although Oracle recommends this variable be placed in the Body section, it is acceptable to place it in the Footer section. In fact, this code was clipped from one of the templates that came in the HTML DB repository. If you have a #FORM_OPEN# substitution variable in your template, you must have a #FORM_CLOSE# substitution variable. It simply specifies the position for the HTML form close tag. The only requirement is that it must be placed after the #BODY_BOX# substitution variable.

Default Display Points

The Default Display Points section contains two sections: Breadcrumb Display Point and Sidebar Display Point. Each of these fields allows you to select a position for each element’s default display position. This information is only used by the Create Application Wizard. If the template is used while creating an application that has a breadcrumb menu or a side navigation bar, those elements will be placed in the selected positions.



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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

ORACLE ARTICLES

- 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: