Oracle
  Home arrow Oracle arrow Page 4 - 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? 
Google.com  
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 - 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>



     
     
    >>> 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 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek