I am using jdev 184.108.40.206
i have a popup in a page. It has few functionalities, sets some value in back bean, few buttons, few input Text, etc. Everything works perfect.
But when i Press escape button on my pc, i need to reset some values in back bean.
Right now, on my popup there is a cancel button which undo the chages user made.
How can i detect Escape event on popup.
note that it matters where the focus is set on when hitting ESC. If the focus is on a component then the ESC key is consumed on the component. So use case matters!
Q1: How do your application users learn about the ESC functionality (doesn't sound intuitive)
Q2: What other option would you have to reset the values (reset button, JSF events? )