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

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #51681 Wed Jun 21 20:09:00 MDT 2017 art.zambrano ICE-11320 ace:checkboxButtons, changed the default value of 'labelPosition' to 'right', instead of 'none', to better align with the h:selectManyCheckbox behaviour
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbuttons/CheckboxButtonsMeta.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved: