Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion item/item_type_plugin_item_template.sql
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@ wwv_flow_api.create_plugin(
' l_html_string VARCHAR2(2000);',
' l_element_item_id VARCHAR2(200);',
' --',
'BEGIN',
'BEGIN',
' -- pass debug information to APEX framework',
' if apex_application.g_debug then',
' apex_plugin_util.debug_page_item (',
' p_plugin => p_plugin,',
' p_page_item => p_item,',
' p_value => p_value,',
' p_is_readonly => p_is_readonly,',
' p_is_printer_friendly => p_is_printer_friendly );',
' end if;',
' --',
' -- printer friendly display',
' IF p_is_printer_friendly THEN',
' apex_plugin_util.print_display_only(p_item_name => p_item.name,',
Expand Down
14 changes: 12 additions & 2 deletions item/render_item.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ FUNCTION render_item(p_item IN apex_plugin.t_page_item,
l_html_string VARCHAR2(2000);
l_element_item_id VARCHAR2(200);
--
BEGIN
BEGIN
-- pass debug information to APEX framework
if apex_application.g_debug then
apex_plugin_util.debug_page_item (
p_plugin => p_plugin,
p_page_item => p_item,
p_value => p_value,
p_is_readonly => p_is_readonly,
p_is_printer_friendly => p_is_printer_friendly );
end if;
--
-- printer friendly display
IF p_is_printer_friendly THEN
apex_plugin_util.print_display_only(p_item_name => p_item.name,
Expand Down Expand Up @@ -75,4 +85,4 @@ BEGIN
l_result.is_navigable := TRUE;
RETURN l_result;
--
END render_item;
END render_item;