Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

appending custom success, notification and error messages

629350Apr 22 2008 — edited Apr 23 2008
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2008
Added on Apr 22 2008
6 comments
715 views