ICEfaces
  1. ICEfaces
  2. ICE-11320

ace:checkboxButtons should show label when using f:selectItems

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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).

        Issue Links

          Activity

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: