PRINT_DISPLAY_ONLY Procedure
This procedure outputs a SPAN tag for a display only field.
Syntax
APEX_PLUGIN_UTIL.PRINT_DISPLAY_ONLY (
p_item_name IN VARCHAR2,
p_display_value IN VARCHAR2,
p_show_line_breaks IN BOOLEAN,
p_attributes IN VARCHAR2,
p_id_postfix IN VARCHAR2 DEFAULT '_DISPLAY');
Parameters
Table 28-36 PRINT_DISPLAY_ONLY Parameter
Parameter | Description |
---|---|
|
Name of the page item. This parameter should be called with |
|
Text to be displayed. |
|
If set to TRUE line breaks in |
|
Additional attributes added to the SPAN tag. |
|
Postfix which is getting added to the value in |
Example
The following code could be used in an item type plug-in to render a display only page item.
apex_plugin_util.print_display_only (
p_item_name => p_item.name,
p_display_value => p_value,
p_show_line_breaks => false,
p_escape => true,
p_attributes => p_item.element_attributes );
Parent topic: APEX_PLUGIN_UTIL