Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Oracle Linux 6, Firefox
Description
Some browsers automatically submit forms when the Enter key is pressed. There are several common workarounds for this: mainly using javascript to capture the "Enter" keypress before the browser has a chance to submit.
ICEfaces, however, seems to process this keypress before javascript has a chance to catch it. Perhaps this is a side effect to performing an AJAX 'submit="@all" render="@all" submission that ICEfaces does. This problem does not exist using vanilla JSF or Primefaces.
ICEfaces, however, seems to process this keypress before javascript has a chance to catch it. Perhaps this is a side effect to performing an AJAX 'submit="@all" render="@all" submission that ICEfaces does. This problem does not exist using vanilla JSF or Primefaces.
Activity
William Saxton
created issue -
William Saxton
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | ZTestWebVanilla.zip [ 22263 ] |
Sample project showing that javascript does capture the keypresses properly except when hitting the enter key in the text box or hitting enter in the dropdown.