Skip to Main Content

DevOps, CI/CD and Automation

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!

Oracle MSCA Custom Page specialKeyPressed not working

Abhik Kumar DeySep 21 2018

Hello Team,

I am working on a custom MSCA page. We want to implement a Special Key pressed event. When user presses CONTROL-Y the cursor will change its position to Done button.

Below is the code I am using:

    public void specialKeyPressed(MWAEvent ev) throws AbortHandlerException,

                                                      InterruptedHandlerException,

                                                      DefaultOnlyHandlerException {

        Session session = ev.getSession();

        super.specialKeyPressed(ev);

        trace("specialKeyPressed::Inside Special key Pressed");

        trace("specialKeyPressed::Special key Pressed - " +

              ev.getAction());

        if (ev.getAction().equals("USER_FUNCTION_3")) // Done Btn    Control Y

        {

            int index = getFieldIndex("done");

            setCurrentFieldIndex(index);

        }

    }

However, the page is not invoking this method, Kindly can you please help what the issue can be ?

Thanks in Advance!


Regards,

Abhik Dey

Comments
Post Details
Added on Sep 21 2018
1 comment
540 views