This content has been marked as final.
Show 1 reply
-
1. Re: enter key closes rich:popupPanel depsite oncomplete logic
michpetrov Feb 22, 2016 10:19 AM (in response to arnieaustin)- Does the status have a high enough z-index? It may be hidden under the popup.
- the key name should be "return", whatever you're seeing is the default browser response to pressing Enter; you should also use @selector, otherwise the hotkey is attached to document and the event doesn't reach it
It also pays to do a dry run on the JavaScript before you put it on a component, you'd find that it doesn't work
- a4j:commandButton doesn't have a backing object so rich:component returns nothing, you need rich:element
- onclick="return false" prevents the form submission