Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
When a selectOneRadio or selectBooleanCheckbox has focus and the user hits the enter key the closest commandButton gets submitted. Here is some sample code to reproduce this issue:
<ice:form id="form1">
<ice:selectOneRadio id="idCommitmentTime" value="1">
<f:selectItems id="sel1" value="#{testBean.selList}"/>
</ice:selectOneRadio>
<br/>
<ice:commandButton value="test it" onclick="javascript:testOne();" tabindex="2"/>
</ice:form>
<script>
function testOne(){
alert('ICEfaces');
}
</script>
<ice:form id="form1">
<ice:selectOneRadio id="idCommitmentTime" value="1">
<f:selectItems id="sel1" value="#{testBean.selList}"/>
</ice:selectOneRadio>
<br/>
<ice:commandButton value="test it" onclick="javascript:testOne();" tabindex="2"/>
</ice:form>
<script>
function testOne(){
alert('ICEfaces');
}
</script>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18204 | Wed Jan 21 10:36:14 MST 2009 | yip.ng | Made enter key on radio and checkbox do a submit. |
Files Changed | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18194 | Mon Jan 19 16:39:45 MST 2009 | yip.ng | Added onkeypress property. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18193 | Mon Jan 19 16:36:15 MST 2009 | yip.ng | Added onclick property. |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18192 | Mon Jan 19 15:04:48 MST 2009 | yip.ng | Made enter key on radio and checkbox do a submit. |
Files Changed | ||||
![]() ![]() ![]() ![]() |