List Templates

Control the appearance of a list using list templates.

About Hierarchical Lists

Learn about hierarchical lists.

A list is a shared collection of links. Oracle APEX supports hierarchical lists. To create a hierarchical list, you must:

List Template Attributes

Learn about list template attributes.

To learn more about a specific attribute, see field-level Help.

Name

Name identifies the name of the template. Use the Translatable checkbox to indicate that the template contains text strings that 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. App Builderaccomplishes this template mapping through the assignment of a template class.

Before List Entry

Enter HTML that displays before any list elements. You can use this attribute to open an HTML table or HTML table row. The #COMPONENT_CSS_CLASSES# substitution string must be included in the List Template Before Rows attribute for templates that have template options defined.

Template Definition

Defines current and noncurrent list templates. Supported substitution strings include #LINK#, #TEXT#, #TEXT_ESC_SC#, #ICON_CSS_CLASSES#, #APEX_FILES#, #IMAGE#, #IMAGE_ATTR#, and #A01#...#A10#.

Template Definition attributes include:

Template Definitions for First Entry

Available attributes include:

Before Sublist Entry

Enter HTML that displays before any sublist elements.

Sublist Entry

Defines current and noncurrent list templates. Supported substitution strings include #LINK#, #TEXT#, #ICON_CSS_CLASSES#, #APP_FILES#, #IMAGE#, #IMAGE_ATTR#, #ICON_CSS_CLASSES#, #A01#…#A10#, #LIST_ITEM_ID#, and #PARENT_LIST_ITEM_ID#.

Sub List Entry attributes include:

After Sub List Entry

Enter HTML that displays after displaying sublist elements.

After List Entry

Enter HTML that displays after displaying all list elements. You can use this attribute to close an HTML table opened in the Before List Elements attribute.

Substitution Strings

Note: Template directives are supported by specific attributes of list templates. See Using Template Directives.

Substitution strings are used within templates to reference component values. To view the most current list supported substitution strings for a given template, view the template and find the Substitution Strings report.

Tip: All template substitution strings must be in uppercase letters and begin and end with a number sign (#).