Hi,
I am using the code below in a region-type plugin as the rendering code. When the value of page item P826_VIEW_NAME changes, the plugin region should refresh accordingly. So can you please guide me to do.
PROCEDURE p_render(
p_plugin IN apex_plugin.t_plugin,
p_region IN apex_plugin.t_region,
p_param IN apex_plugin.t_region_render_param,
p_result IN OUT NOCOPY apex_plugin.t_region_render_result
) IS
BEGIN
VIEW_PKG.p_render_view_report(
p_plugin => p_plugin,
p_region => p_region,
p_param => p_param,
p_result => p_result,
p_view_name => :P826_VIEW_NAME,
-- p_view_name => 'test_v_lk',
p_project_id => :P0_PROJECT_ID,
p_flow_id => v('FLOW_ID'),
p_flow_step => v('FLOW_STEP_ID'),
p_instance => v('INSTANCE')
);
END p_render;
-- ============================
-- Main AJAX entry point
-- ============================
PROCEDURE p_ajax(
p_plugin IN apex_plugin.t_plugin,
p_region IN apex_plugin.t_region,
p_param IN apex_plugin.t_region_ajax_param,
p_result IN OUT NOCOPY apex_plugin.t_region_ajax_result
) IS
BEGIN
VIEW_PKG.p_ajax_view_report(
p_plugin => p_plugin,
p_region => p_region,
p_param => p_param,
p_result => p_result
);
END p_ajax;
Thanks in advance