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!

Dynamic actions javascript vs PLSQL code

user5108636May 28 2018 — edited May 29 2018

Hi All,

    Using APEX 5.1.3 with universal theme. I have a dynamic action to throw APEX_ERROR through a PLSQL code.

Somehow it is not getting triggered at all.

I verified the conditions of the event which is fired on change. All good.

When I use a javascript action with an alert statement it seems to work fine.

alert("show error");

I replace this 'Execute JavaScript Code' action with 'Execute PLSQL code' and within the PLSQL code just have something like this does not seem to throw an error.

begin

APEX_ERROR.ADD_ERROR(p_message => ' Show ERROR', p_display_location => apex_error.c_inline_in_notification);

end;

Please advise what's happening here, Is dynamic actions with PLSQL in reality AJAX.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2018
Added on May 28 2018
6 comments
2,842 views