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!

Capture Keyup / Keydown events on JET input CCS components

Anudeep Munnangi-OracleOct 6 2017 — edited Jan 4 2019

Is there a way to listen key up/key down events on JET CCS components like oj-input-text,oj-combobox-one ? We are looking to solve a specific requirement that involves barcode scanner. Barcode scanner when connected to a mobile or a pc acts as a keyboard. i.e if you focus on a input element and scan using barcode scanner, it will enter the text for you. Once the barcode text is entered, it will also press Enter for you. This indicates that scan is completed and the focus can be moved to next field.

We observed that a form created using VBCS/JET Components, Pressing 'Enter' key is not actually moving the focus. So, we would like to write a key listener on ccs component, capture the 'Enter' event and move the focus programatically.

This is critical in a Warehouse environment. Where an operator will scan multiple items, subinventories seamlessly with out touching the mobile/pc after every scan.

Comments
Post Details
Added on Oct 6 2017
4 comments
1,497 views