13.3.16 Region Templates
Region templates control the appearance and placement of region attributes.
You place region attributes using substitution strings such as
#BODY#
and #EDIT#
. Template substitution strings
must be in upper case and begin and end with a pound sign (#).
Parent topic: Creating Custom Themes
13.3.16.1 Region Template Attributes
See Also:
"Understanding Template Options" and "Managing Theme Subscriptions"
This section describes some attributes on the Edit Region Template page. To learn more about a specific attribute, see field-level Help.
Parent topic: Region Templates
13.3.16.1.1 Name
Theme indicates the theme to which the template is a member. Name identifies the name of the template.
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. App Builder accomplishes this template mapping through the assignment of a template class. Use the Translatable check box to indicate that the template contains text strings that require translation.
Parent topic: Region Template Attributes
13.3.16.1.2 Definition
Region templates provide the appearance for a portion of a page called a region. Use substitution strings to indicate the existence and placement of a component within the region. #BODY#
is the only required substitution string and identifies where the source of the region should be placed. All other substitution strings are optional. The following are valid substitution strings:
-
#TITLE#
-
#PAGE_TITLE#
-
#EXPAND#
-
#CHANGE#
-
#BODY#
-
#SUB_REGION_HEADERS#
-
#SUB_REGIONS#
-
#FORM_OPEN#
-
#FORM_CLOSE#
-
#REGION_ID#
-
#REGION_STATIC_ID#
-
#REGION_CSS_CLASSES#
-
#REGION_ATTRIBUTES#
-
#REGION_HEADER#
-
#REGION_FOOTER#
When you create a button in a region position, the positions you define appear in a select list. Use the following substitution strings to define positions for the placement of buttons in a region:
-
#EDIT#
-
#CLOSE#
-
#CREATE#
-
#CREATE2#
-
#EXPAND#
-
#HELP#
-
#DELETE#
-
#COPY#
-
#NEXT#
-
#PREVIOUS#
See Also:
Parent topic: Region Template Attributes
13.3.16.1.3 Layout
Page items display within regions. If the layout in the page template is set to Table, each item is part of an HTML table. Use this attribute to set the attributes of this table.
Parent topic: Region Template Attributes
13.3.16.1.4 Sub Regions
Use Header Templates and Header Entry Templates to generate a list of region titles of all the subregions of the current region. For either template, #ENTRIES#
is the only required substitution string.
Use Template to wrap a subregion with additional HTML code. #SUB_REGION#
is the only required substitution string. It identifies where the source of the subregion should be placed. All other substitution strings are optional.
Parent topic: Region Template Attributes
13.3.16.1.5 Substitution Strings
Lists substitution string used within templates to reference component values.
Parent topic: Region Template Attributes