Enterprise Capture Client Script using JOptionPane will Force FieldLostFocus to Fire Multiple Times (Doc ID 1684401.1)

Last updated on NOVEMBER 13, 2015

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

If a custom script is using the FieldLostFocus event to call JOptionPane to display a message to the operator, then the FieldLostFocus event fires again when the OK button on the dialogue is clicked.  This causes the dialogue box to be displayed twice even though event.setCancel(true) is issued after the dialogue display.  However, it does not fire again when the second dialogue box OK button is clicked. Typing Enter has the same result.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms