Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0, 2.0.0-EE-Beta1
-
Fix Version/s: 2.0.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE7/8
-
Workaround Exists:Yes
-
Workaround Description:Use onkeydown instead of onkeypress.
Description
The customer has a custom javascript solution that allows for only numbers to be entered in an ice:inputText component like so:
<ice:inputText onkeypress="return numbersonly(this, event);"/>
The javascript solution can be found here: http://www.htmlcodetutorial.com/forms/index_famsupp_158.html. This solution works in 1.8.2 P02 and a stock JSF 2.0 example on FF and IE. However, this does not work in 2.0 or 2.0 EE Beta with IE7 or 8. It does work in FF.
The workaround is to use onkeydown but the customer has mentioned that they have existing logic in this event.
2.0 EE Beta (sc9836_IF2.war) and stock JSF 2 (case9836Example.war) test cases are attached.
<ice:inputText onkeypress="return numbersonly(this, event);"/>
The javascript solution can be found here: http://www.htmlcodetutorial.com/forms/index_famsupp_158.html. This solution works in 1.8.2 P02 and a stock JSF 2.0 example on FF and IE. However, this does not work in 2.0 or 2.0 EE Beta with IE7 or 8. It does work in FF.
The workaround is to use onkeydown but the customer has mentioned that they have existing logic in this event.
2.0 EE Beta (sc9836_IF2.war) and stock JSF 2 (case9836Example.war) test cases are attached.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000FbENO] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Tyler Johnson
made changes -
Attachment | sc9836_IF2.war [ 12947 ] |
Tyler Johnson
made changes -
Attachment | Case9836Example.war [ 12948 ] |
Tyler Johnson
made changes -
Description |
The customer has a custom javascript solution that allows for only numbers to be entered in an ice:inputText component like so: <ice:inputText onkeypress="return numbersonly(this, event);"/> The javascript solution can be found here: http://www.htmlcodetutorial.com/forms/index_famsupp_158.html. This solution works in 1.8.2 P02 and a stock JSF 2.0 example on FF and IE. However, this does not work in 2.0 or 2.0 EE Beta with IE7 or 8. It does work in FF. The workaround is to use onkeydown but the customer has mentioned that they have existing logic in this event. 2.0 EE Beta and stock JSF 2 test cases are attached. |
The customer has a custom javascript solution that allows for only numbers to be entered in an ice:inputText component like so: <ice:inputText onkeypress="return numbersonly(this, event);"/> The javascript solution can be found here: http://www.htmlcodetutorial.com/forms/index_famsupp_158.html. This solution works in 1.8.2 P02 and a stock JSF 2.0 example on FF and IE. However, this does not work in 2.0 or 2.0 EE Beta with IE7 or 8. It does work in FF. The workaround is to use onkeydown but the customer has mentioned that they have existing logic in this event. 2.0 EE Beta (sc9836_IF2.war) and stock JSF 2 (case9836Example.war) test cases are attached. |
Ken Fyten
made changes -
Fix Version/s | 2.0.1 [ 10255 ] | |
Assignee Priority | P1 | |
Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
Mircea Toma
made changes -
Attachment | caps.js [ 12966 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.1 [ 10255 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Fix Version/s | 2.0.0-EE-GA [ 10263 ] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Affects Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0-EE-GA [ 10263 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |