Previous |
Next |
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: PRINT_DISPLAY_ONLY Parameter describes the parameters available in the PRINT_DISPLAY_ONLY procedure.
PRINT_DISPLAY_ONLY Parameter
Parameter | Description |
---|---|
|
Name of the page item. This parameter should be called with |
p_display_value |
Text to be displayed. |
p_show_line_breaks |
If set to TRUE line breaks in |
p_attributes |
Additional attributes added to the SPAN tag. |
p_id_postfix |
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 );