Dear all,
In order to add success, notification and error messages from our application
(in pl/sql regions), we added a few procedures to a package like this one:
PROCEDURE AddSuccessMessage(msg IN VARCHAR2) IS
BEGIN
apex_application.g_print_success_message :=
apex_application.g_print_success_message
|| '<li>' || msg || '</li>';
END;
(the above is then called from a procedure On Load, Before Header).
We can do the same for notifications (g_notifications) and global notifications (g_global_notifications). And now my question is, can anybody tell me how to do the same for error messages?
The only way I know how to do this is to call raise_application_error.
However, I do not want this, because it stops further execution of the page.
Thanks for your time,
Jonne