Application Express User's Guide > Controlling Page Layout and... > Customizing Templates > Button Templates
Button Templates |
Previous |
Next |
Button templates enable application developers to customize the look and feel of a button. To build a button, you can use multiple images or HTML tags. Using button templates is optional.
This section describes specific sections of the Button Template page.
Template Name identifies the name of the template. Use the Translatable check box to indicate if the template contains text strings which require translation. Theme indicates the theme to which the template is a member.
Template Class identifies a specific use for the template. When you switch to a new theme, all templates in one theme are mapped to corresponding templates in another theme. Application Builder accomplishes this template mapping through the assignment of a template class.
Use Template Subscription to apply an existing template to the current application. When you select an existing template, you become a subscriber to that template.
To load a new copy of a master template, click Refresh.
Defines the button template that displays. You have the option of including standard application substitutions. For example, &ITEM_NAME
values can be substituted at rendering time. Button templates support the following substitution strings:
#LABEL#
is replaced with a button label.
#LINK#
is replaced with a URL. The URL then calls a #doSubmit#
or a redirect JavaScript which submits the page (that is, setting the request value), or simply redirects it to the supplied URL.