Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA
-
Fix Version/s: 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:HideICEfaces3 trunk rev# 38598
App server: tomcat6/7
Browsers: all
Test app: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/buttonGroup
ShowICEfaces3 trunk rev# 38598 App server: tomcat6/7 Browsers: all Test app: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/buttonGroup
-
Assignee Priority:P3
Description
The mutuallyExclusive attribute cannot be enabled for an ace:buttonGroup with ace:checkboxButtons, if the checkboxButton components are inside an h:panelGrid. Removing the h:panelGrid fixes the issue.
This is not an issue if using ace:radioButtons inside the h:panelGrid.
<ace:buttonGroup id="cbButtonGroup" header="Using ace:checkboxButton" mutuallyExclusive="true">
<h:panelGrid id="panelGrid" columns="3" width="60%">
<ace:checkboxButton value="#{buttonGroupBean.cb1}" label="#{buttonGroupBean.cbValueDescription1}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
<ace:checkboxButton value="#{buttonGroupBean.cb2}" label="#{buttonGroupBean.cbValueDescription2}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
<ace:checkboxButton value="#{buttonGroupBean.cb3}" label="#{buttonGroupBean.cbValueDescription3}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
</h:panelGrid>
</ace:buttonGroup>
This can be reproduced with the ButtonGroup / ButtonGroup Only test app from: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/buttonGroup
This is not an issue if using ace:radioButtons inside the h:panelGrid.
<ace:buttonGroup id="cbButtonGroup" header="Using ace:checkboxButton" mutuallyExclusive="true">
<h:panelGrid id="panelGrid" columns="3" width="60%">
<ace:checkboxButton value="#{buttonGroupBean.cb1}" label="#{buttonGroupBean.cbValueDescription1}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
<ace:checkboxButton value="#{buttonGroupBean.cb2}" label="#{buttonGroupBean.cbValueDescription2}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
<ace:checkboxButton value="#{buttonGroupBean.cb3}" label="#{buttonGroupBean.cbValueDescription3}">
<ace:ajax execute="@this" event="activate" render="@form"/>
</ace:checkboxButton>
</h:panelGrid>
</ace:buttonGroup>
This can be reproduced with the ButtonGroup / ButtonGroup Only test app from: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/buttonGroup
Activity
| Field | Original Value | New Value |
|---|---|---|
| Summary | ace:buttonGroup - mutuallyExclusive attribute fails if using checkboxButtons | ace:buttonGroup - mutuallyExclusive attribute fails if using checkboxButtons inside h:panelGrid |
| Assignee | Arturo Zambrano [ artzambrano ] | |
| Fix Version/s | 3.4 [ 10770 ] | |
| Assignee Priority | P2 [ 10011 ] |
| Fix Version/s | 4.0 [ 11382 ] | |
| Fix Version/s | 4.0.BETA [ 10770 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #41772 | Fri Jul 11 14:12:16 MDT 2014 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/buttongroup/ButtonGroupMeta.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/Utils.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButtonRenderer.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/radiobutton/radiobutton.js
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Assignee Priority | P2 [ 10011 ] | P3 [ 10012 ] |
| Security | Private [ 10001 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #41824 | Mon Jul 21 14:32:58 MDT 2014 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButtonRenderer.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/radiobutton/radiobutton.js
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #41826 | Mon Jul 21 14:46:21 MDT 2014 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
|
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #41827 | Mon Jul 21 15:22:16 MDT 2014 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButtonRenderer.java
|
| Status | Resolved [ 5 ] | Closed [ 6 ] |

If the ace:buttonGroup w/ checkboxButtons is inside f:ajax (render/execute=@all), the mutuallyExclusive=true attribute always fails, with or without the checkboxButtons in an h:panelGrid.
This can be reproduced using the same test application for buttonGroup, on the ButtonGroup inside f:ajax test: http://localhost:8080/buttonGroup/buttonGroupFAjax.jsf