45.45 PRINT_HIDDEN_IF_READONLY Procedure
This procedure outputs a hidden field to store the page item value if the page item is rendered as readonly and is not printer friendly. If this procedure is called in an item type plug-in, the parameters of the plug-in interface should directly be passed in.
Syntax
APEX_PLUGIN_UTIL.PRINT_HIDDEN_IF_READ_ONLY (
p_item_name IN VARCHAR2,
p_value IN VARCHAR2,
p_is_readonly IN BOOLEAN,
p_is_printer_friendly IN BOOLEAN,
p_id_postfix IN VARCHAR2 DEFAULT NULL);
Parameters
Table 45-61 PRINT_HIDDEN_IF_READONLY Parameters
Parameter | Description |
---|---|
|
Name of the page item. For this parameter the |
|
Current value of the page item. For this parameter |
|
Is the item rendered readonly. For this parameter |
|
Is the item rendered in printer friendly mode. For this parameter |
|
Used to generate the ID attribute of the hidden field. It is build based on |
Example
Writes a hidden field with the current value to the HTTP output if p_is_readonly
is TRUE and p_printer_friendly
is FALSE.
apex_plugin_util.print_hidden_if_readonly (
p_item_name => p_item.name,
p_value => p_value,
p_is_readonly => p_is_readonly,
p_is_printer_friendly => p_is_printer_friendly );
Parent topic: APEX_PLUGIN_UTIL