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.
-
Hide
- ZTestWebVanilla.zip
- 13.85 MB
- William Saxton
-
- ZTestWebVanilla/src/.../Form.java 0.9 kB
- ZTestWebVanilla/src/.../onPageLoad.js 0.6 kB
- ZTestWebVanilla/src/main/.../WEB-INF/web.xml 3 kB
- ZTestWebVanilla/src/.../glassfish-web.xml 0.5 kB
- ZTestWebVanilla/src/.../webapp/form.xhtml 1 kB
- ZTestWebVanilla/nb-configuration.xml 1 kB
- ZTestWebVanilla/pom.xml 3 kB
- ZTestWebVanilla/target/.../inputFiles.lst 0.0 kB
- ZTestWebVanilla/target/.../createdFiles.lst 0.0 kB
- ZTestWebVanilla/target/.../inputFiles.lst 0.1 kB
- ZTestWebVanilla/target/.../pom.properties 0.1 kB
- ZTestWebVanilla/.../ZTestWebVanilla-1.0-SNAPSHOT.war 7.39 MB
- ZTestWebVanilla/.../javaee-endorsed-api-7.0.jar 185 kB
- ZTestWebVanilla/target/.../Form.class 1 kB
- ZTestWebVanilla/target/.../onPageLoad.js 0.6 kB
- ZTestWebVanilla/.../TestClassOmni.class 0.9 kB
- ZTestWebVanilla/.../TestClassRegular.class 1 kB
- ZTestWebVanilla/target/.../Form.class 1 kB
- ZTestWebVanilla/target/.../glassfish-web.xml 0.5 kB
- ZTestWebVanilla/.../icefaces-4.1.1.jar 684 kB
- ZTestWebVanilla/target/.../omnifaces-2.3.jar 660 kB
- ZTestWebVanilla/.../icefaces-ace-4.1.1.jar 6.07 MB
- ZTestWebVanilla/target/.../WEB-INF/web.xml 3 kB
- ZTestWebVanilla/target/.../form.xhtml 1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.