Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Component/s: Bridge, Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 Compatibility
-
ICEsoft Forum Reference:
Description
Given a simple test case like this:
<ice:form>
<ice:inputText value="BLAH" action="#{simple.textAction}"/><br/>
<ice:commandButton value="Click" action="#{simple.buttonAction}"/><br/>
</ice:form>
If you focus the inputText field and hit the Enter key, the action methods of both the inputText component and the commandButton are called. This behaviour is different from ICEfaces 1.8 where only the action of the inputText field would be called.
<ice:form>
<ice:inputText value="BLAH" action="#{simple.textAction}"/><br/>
<ice:commandButton value="Click" action="#{simple.buttonAction}"/><br/>
</ice:form>
If you focus the inputText field and hit the Enter key, the action methods of both the inputText component and the commandButton are called. This behaviour is different from ICEfaces 1.8 where only the action of the inputText field would be called.
Issue Links
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P2 |
| Fix Version/s | 2.0.0 [ 10230 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #22287 | Wed Sep 08 07:38:46 MDT 2010 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/submit.js
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #22286 | Wed Sep 08 07:11:27 MDT 2010 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/javascript/submit.js
|
| Salesforce Case | [] | |
| Fix Version/s | 2.0-Beta2 [ 10242 ] | |
| Fix Version/s | 2.0-Alpha3 [ 10032 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Assignee Priority | P2 |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
| Field | Original Value | New Value |
|---|---|---|
| Salesforce Case | [] | |
| Component/s | Bridge [ 10011 ] | |
| Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
| Assignee | Ken Fyten [ ken.fyten ] |

Modified ice.s and ice.ss functions to cancel the default action when enter key is pressed. This way the event won't trigger a form submit anymore.