Oracle
  Home arrow Oracle arrow Sub-templates and More with Oracle HTML DB
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Sub-templates and More with Oracle HTML DB
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 4
    2007-04-12


    Table of Contents:
  • Sub-templates and More with Oracle HTML DB
  • Sub-template Definitions
  • Standard Tab and Parent Tab Attributes
  • Image-based Tab Attributes

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Sub-templates and More with Oracle HTML DB
    ( Page 1 of 4 )

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

    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
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT