41.41 PRINT_DISPLAY_ONLY Procedure Signature 2
This procedure outputs a SPAN tag for a display-only field.
Syntax
APEX_PLUGIN_UTIL.PRINT_DISPLAY_ONLY (
    p_item             IN apex_plugin_util.t_item,
    p_display_value    IN apex_session_state.t_value,
    p_show_line_breaks IN BOOLEAN,
    p_escape           IN BOOLEAN  DEFAULT NULL,
    p_id_postfix       IN VARCHAR2 DEFAULT '_DISPLAY',
    p_show_icon        IN BOOLEAN  DEFAULT TRUE );Parameters
Table 41-60 PRINT_DISPLAY_ONLY Parameter
| Parameter | Description | 
|---|---|
| p_item | The p_itemrecord to be passed in. | 
| p_display_value | Text to be displayed. p_param.session_state_valueshould be passed in. | 
| p_show_line_breaks | If set to TRUEline breaks inp_display_valueare changed to<br />so that the browser renders them as line breaks. | 
| p_escape | Whether to escape the value. If p_escapeis unspecified, the value fromp_itemis used. | 
| p_id_postfix | Postfix which is getting added to the value in p_item.nameto get the ID for the SPAN tag. Default is_DISPLAY. | 
| p_show_icon | Whether to render the item icon. Default is TRUE. | 
Example
The following example could be used in an item type plug-in to render a display-only page item.
apex_plugin_util.print_display_only (
    p_item          => p_item,
    p_display_value => p_param.session_state_value );Parent topic: APEX_PLUGIN_UTIL