Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.5.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Linux
Platform: PC
Description
This was found in WebMC, but looks like a global issue. Basically if
requestFocus is called on an inputText component, then the 'enter' key is
pressed in the newly focused field, the enter key does not submit the field. The
user has to click outside of the text field, then back inside the text field,
before the enter key will work again.
1. Bind a page level inputText component to a bean (in this case the inputText
had an actionListener so it would submit on enter)
2. Call requestFocus on the bound component
3. Try to press the enter key in the text field, it will not perform the submit
requestFocus is called on an inputText component, then the 'enter' key is
pressed in the newly focused field, the enter key does not submit the field. The
user has to click outside of the text field, then back inside the text field,
before the enter key will work again.
1. Bind a page level inputText component to a bean (in this case the inputText
had an actionListener so it would submit on enter)
2. Call requestFocus on the bound component
3. Try to press the enter key in the text field, it will not perform the submit
This bug appears to be fixed in the HEAD.
I am able to run my testcase successfully.
Carlo, please verify with your testcase and/or WebMC.