Oracle
  Home arrow Oracle arrow Page 4 - Sub-templates and More with Oracle HTM...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 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: 4 stars4 stars4 stars4 stars4 stars / 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:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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

    PCmover - $15 Off with Coupon Code CJPH7Q

    Sub-templates and More with Oracle HTML DB - Image-based Tab Attributes
    (Page 4 of 4 )

    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>
    <br>
    <a href="#BACK_LINK#">Return to previous page to correct the error</a>


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article is an excerpt from the book "Oracle HTML DB Handbook," published by...
     

    Buy this book now. This article is excerpted from the Oracle HTML DB Handbook, written by Lawrence Linnemeyer and Bradley Brown (McGraw-Hill, 2006; ISBN: 0072257687). Check it out today at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - 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...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway