44.4 GET_AJAX_IDENTIFIER Function
This function returns the Ajax identifier used to call the Ajax callback function defined for the plug-in.
Note:
This function only works in the context of a plug-in rendering function call and only if the plug-in has defined an Ajax function callback in the plug-in definition.Syntax
APEX_PLUGIN.GET_AJAX_IDENTIFIER
RETURN VARCHAR2;
Parameters
None.
Example
This is an example of a dynamic action plug-in rendering function that supports an Ajax callback.
FUNCTION RENDER_SET_VALUE (
p_dynamic_action in apex_plugin.t_dynamic_action )
return apex_plugin.t_dynamic_action_render_result
IS
l_result apex_plugin.t_dynamic_action_render_result;
BEGIN
l_result.javascript_function := 'com_oracle_apex_set_value';
l_result.ajax_identifier := apex_plugin.get_ajax_identifier;
return l_result;
END;
Parent topic: APEX_PLUGIN