Dear All,
My code relies heavily on popup and navigation is done thru button clicks on popup.
However I notice that clicking escape key at the browser, removes my popup.
Is there a way to prevent these?
<af:resource type="javascript">
function handleDialog(event)
{
if(event.getOutcome == AdfDialogEvent.OUTCOME_CANCEL)
{
event.cancel();
}
}
</af:resource>
<af:popup id="pop">
<af:dialog id="pt_d1" type="yesNo">
<af:panelGroupLayout id="pt_pgl1">
<!-- more code here -->
</af:panelGroupLayout>
<af:clientListener method="handleDialog" type="dialog"/>
</af:dialog>
</af:popup>
Tried it with the code above but it seems my popups can still be negelected by pressing Escape Key.
Any hints?
JDEV 11G PS4
Thanks