Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ace checkboxButtons
-
Assignee Priority:P2
-
Affects:Compatibility/Configuration
-
Workaround Description:Use <h:selectOneCheckbox>
Description
when using the following markup (can paste this into showcase example dataTableDynamicColumns.xhtml):-
{code}
<ace:checkboxButtons id="checkbox"
mutuallyExclusive="false"
value="#{dataTableDynamicColumns.selectedCheckboxes}"
valueChangeListener="#{dataTableDynamicColumns.checkboxChange}"
styleClass="checkboxes">
<ace:ajax render="@form" execute="@this"/>
<f:selectItems value="#{dataTableDynamicColumns.checkboxes}"/>
</ace:checkboxButtons>
{code}
note that if you use several <f:selectItem with an itemValue and itemLabel, then the labels appear on the checkboxes. It is simply the use of the <f:selectItems> that shows no labels. A checkbox is rendered (see attached screenshot).
{code}
<ace:checkboxButtons id="checkbox"
mutuallyExclusive="false"
value="#{dataTableDynamicColumns.selectedCheckboxes}"
valueChangeListener="#{dataTableDynamicColumns.checkboxChange}"
styleClass="checkboxes">
<ace:ajax render="@form" execute="@this"/>
<f:selectItems value="#{dataTableDynamicColumns.checkboxes}"/>
</ace:checkboxButtons>
{code}
note that if you use several <f:selectItem with an itemValue and itemLabel, then the labels appear on the checkboxes. It is simply the use of the <f:selectItems> that shows no labels. A checkbox is rendered (see attached screenshot).
Issue Links
- blocks
-
ICE-11258 Replace h: components in Showcase with ace: versions
- Closed
for dataTableDynamicColumns.xhtml
and dataTableFind.xhtml
and accordionPanel.xhtml