11.3.13 List Templates
Control the appearance of a list using list templates.
11.3.13.1 About Hierarchical Lists
A list is a shared collection of links. Oracle Application Express supports hierarchical lists. To create a hierarchical list, you must:
-
Select a list template that supports hierarchical lists. To determine which list templates support hierarchical lists, look for templates having the naming convention "with Sublist."
Tip:
To determine which list templates support hierarchical lists, look for templates having the naming convention "with Sublist."
-
Select a Parent List Entry when you create each list entry.
See Also:
Parent topic: List Templates
11.3.13.2 List Template Attributes
This section describes attributes on the Edit List Template page. To learn more about a specific attribute, see field-level Help.
- Name
- Before List Entry
- Template Definition
- Template Definitions for First Entry
- Before Sublist Entry
- Sublist Entry
- After Sub List Entry
- After List Entry
- Substitution Strings
Parent topic: List Templates
11.3.13.2.1 Name
Name identifies the name of the template. Use the Translatable check box 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.
Parent topic: List Template Attributes
11.3.13.2.2 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.
Parent topic: List Template Attributes
11.3.13.2.3 Template Definition
Defines current and noncurrent list templates. Supported substitution strings include #LINK#
, #TEXT#
, #TEXT_ESC_SC#
, #ICON_CSS_CLASSES#
, #IMAGE_PREFIX#
, #IMAGE#
, #IMAGE_ATTR#
, and #A01#...#A10#
.
Template Definition attributes include:
-
List Template Current. Enter HTML or text to be substituted for the selected (or current) list template.
-
List Template Current with Sub List Items. Enter HTML or text to be substituted for the selected (or current) list template when an item has sublist items. If not specified, the current list item template is used.
-
List Template Noncurrent. Enter HTML or text to be substituted for the unselected (or noncurrent) list template.
-
List Template Noncurrent with Sub List Items. Enter HTML or text to be substituted for the unselected (or noncurrent) list template used when an item has sublist items. If not specified, the current list item template is used.
-
Between List Elements. Enter HTML that displays between list elements. This attribute is ignored if no HTML is specified.
Parent topic: List Template Attributes
11.3.13.2.4 Template Definitions for First Entry
Available attributes include:
-
List Template Current (First). If defined, this is used for the first list item. Enter HTML or text to be substituted for the selected (or current) list template.
-
List Template Current with Sub List Items (First). If defined, this is used for the first list item. HTML or text to be substituted for the selected (or current) list template used when item has sub list items.
-
List Template Noncurrent (First). If defined, this is used for the first list item. Enter HTML or text to be substituted for the unselected (or noncurrent) list template.
-
List Template Noncurrent with Sub List Items (First). If defined, this is used for the first list item. HTML or text to be substituted for the unselected (or noncurrent) list template used when item has sub list items.
Parent topic: List Template Attributes
11.3.13.2.5 Before Sublist Entry
Enter HTML that displays before any sublist elements.
Parent topic: List Template Attributes
11.3.13.2.6 Sublist Entry
Defines current and noncurrent list templates. Supported substitution strings include #LINK#
, #TEXT#
, #ICON_CSS_CLASSES#
, #IMAGE_PREFIX#
, #IMAGE#
, #IMAGE_ATTR#
, #ICON_CSS_CLASSES#, #A01#
...#A10#
, #LIST_ITEM_ID#
, and #PARENT_LIST_ITEM_ID#
.
Sub List Entry attributes include:
-
Sub List Template Current. Enter HTML or text to be substituted for the selected (or current) list template.
-
Sub List Template Current with Sub List Items. Enter HTML or text to be substituted for the selected (or current) list template when an item has sublist items. If not specified, the current list item template is used.
-
Sub List Template Noncurrent. Enter HTML or text to be substituted for the unselected (or noncurrent) list template.
-
Sub List Template Noncurrent with Sub List Items. Enter HTML or text to be substituted for the unselected (or noncurrent) list template used when an item has sublist items. If not specified, the current list item template is used.
-
Between Sub List Items. Enter HTML that displays between list elements. This attribute is ignored if no HTML is specified.
Parent topic: List Template Attributes
11.3.13.2.7 After Sub List Entry
Enter HTML that displays after displaying sublist elements.
Parent topic: List Template Attributes
11.3.13.2.8 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.
Parent topic: List Template Attributes
11.3.13.2.9 Substitution Strings
Lists substitution string usage for this template. Substitution strings are used within subtemplates to reference component values.
Parent topic: List Template Attributes