Skip to Main Content

Java Development Tools

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Javascript call on status Indicator

Abhik Kumar DeyJan 9 2018 — edited Jan 10 2018

Hello Experts,

I am using Jdeveloper 12.1.3.0.

I have to implement a javascript code on "status indicator" component. Below is the code snippet that I am writing but is not working:

For javascript code:

<af:resource type="javascript">

              function triggerAlert(event) {

                  alert("In triggerAlert ");

              }

</af:resource>

In status Indicator Section:

<af:statusIndicator id="si1">

    <af:clientListener method="triggerAlert" type="propertyChange"/>

</af:statusIndicator>

But if I keep the type as "click" and then click on the statusIndicator, then the alert is getting displayed.

Kindly can you please suggest how to achieve the same on propertyChange of statusIndicator from suppose say Idle to Busy state

Regards,

Abhik

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 7 2018
Added on Jan 9 2018
3 comments
210 views