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!

Can oracle apex error message css be customized or changed ?

Reinhard H.Jan 26 2017 — edited Feb 9 2017

Hi everyone,

When using 'apex_error.add_error' api to show error or warn message on apex page, we found that the css style of messages are displayed differently between raise exception and non exception.

The test source like following:

declare

eExp Exception;  

begin
apex_error.add_error (
p_message =>'P2_ITEM2 : This is a normal error message!',
p_additional_info =>null,
p_display_location =>apex_error.c_inline_with_field_and_notif,
p_page_item_name=>'P2_ITEM2'
);
raise eExp;
exception
when others then
apex_error.add_error (
p_message =>'P2_ITEM1 : This is a exception error message!',
p_additional_info =>null,
p_display_location =>apex_error.c_inline_with_field_and_notif,
p_page_item_name=>'P2_ITEM1'
);

end;

And, the page displayed like following:

error.JPG

My question: is there any method to make the message displayed with the same css style?

Anyone can give a guide, thanks so much!

This post has been answered by Reinhard H. on Feb 9 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2017
Added on Jan 26 2017
2 comments
1,311 views