Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE8, IE9
-
Assignee Priority:P2
Description
When using the enter key to select an option for the ice:selectInputText, it's actionListener method is called twice.
-
Hide
- Case12658Example.war
- 3.50 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 0.3 kB
- WEB-INF/classes/.../example/TestBean.class 3 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/javax.faces.jar 2.53 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 1 kB
-
Hide
- Case12658Example.zip
- 21 kB
- Arran Mccullough
-
- Case12658Example/build.xml 3 kB
- Case12658Example/.../ant-deploy.xml 3 kB
- Case12658Example/.../build-impl.xml 77 kB
- Case12658Example/.../genfiles.properties 0.5 kB
- Case12658Example/.../private.properties 0.6 kB
- Case12658Example/nbproject/.../private.xml 0.2 kB
- Case12658Example/.../project.properties 3 kB
- Case12658Example/nbproject/project.xml 0.9 kB
- Case12658Example/src/conf/MANIFEST.MF 0.0 kB
- Case12658Example/src/.../example/Item.java 0.1 kB
- Case12658Example/src/.../TestBean.java 2 kB
- Case12658Example/web/index.xhtml 0.5 kB
- Case12658Example/web/.../context.xml 0.1 kB
- Case12658Example/web/WEB-INF/web.xml 2 kB
- Case12658Example/.../welcomeICEfaces.xhtml 1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Looking at the network traffic I can see two requests being sent on enter key. One for a keypress event and another for a keyup event.
Show
Arran Mccullough
added a comment - Looking at the network traffic I can see two requests being sent on enter key. One for a keypress event and another for a keyup event.
Attached test case that shows issue. The icefaces-*.jar files need to be added back into the war file.
Steps:
- Load welcomeICEfaces.jsf In IE8/9 or IE10/11 using IE8/9 document/browser mode.
- In the input field, enter "bb"
- Using the keyboard, use the arrow key to highlight an option and the enter key to select.
- Two logs should be seen in the server output related to the action method.
Show
Arran Mccullough
added a comment - Attached test case that shows issue. The icefaces-*.jar files need to be added back into the war file.
Steps:
Load welcomeICEfaces.jsf In IE8/9 or IE10/11 using IE8/9 document/browser mode.
In the input field, enter "bb"
Using the keyboard, use the arrow key to highlight an option and the enter key to select.
Two logs should be seen in the server output related to the action method.
The fix makes sure to stop the 'keypress' event from bubbling up to the form, a 'keyup' event listener is already registered with the element when running in IE.