ICEfaces
  1. ICEfaces
  2. ICE-9651

ace:buttonGroup - mutuallyExclusive attribute fails if using checkboxButtons inside h:panelGrid

    Details

    • 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

        Activity

        Hide
        Arturo Zambrano added a comment -

        Could not reproduce f:ajax issue after the previous fixes. Marking issue as fixed.

        Show
        Arturo Zambrano added a comment - Could not reproduce f:ajax issue after the previous fixes. Marking issue as fixed.
        Hide
        Ken Fyten added a comment - - edited

        Issues related to nesting inside ui:repeat and h:dataTable are possibly related to the same root cause as the issues described in ICE-9895 and ICE-9998.

        Show
        Ken Fyten added a comment - - edited Issues related to nesting inside ui:repeat and h:dataTable are possibly related to the same root cause as the issues described in ICE-9895 and ICE-9998.
        Hide
        Ken Fyten added a comment -

        Possible regressions from this change captured by QA:

        ICEfaces4 trunk revision# 41822
        Server: tomcat7
        Browser: IE7, FF3.6 & Chrome35
        JSF: Mojarra 2.2.7

        ButtonGroup > Overview
        Test fails manually, Checkbox buttons can not be de-selected.
        CheckBox button > Overview, Custom Styling
        Test fails manually, Checkbox buttons can not be de-selected.

        Show
        Ken Fyten added a comment - Possible regressions from this change captured by QA: ICEfaces4 trunk revision# 41822 Server: tomcat7 Browser: IE7, FF3.6 & Chrome35 JSF: Mojarra 2.2.7 ButtonGroup > Overview Test fails manually, Checkbox buttons can not be de-selected. CheckBox button > Overview, Custom Styling Test fails manually, Checkbox buttons can not be de-selected.
        Hide
        Arturo Zambrano added a comment -

        r41826: removed unnecessary line in Javascript code that was preventing buttons from being deselected.

        Show
        Arturo Zambrano added a comment - r41826: removed unnecessary line in Javascript code that was preventing buttons from being deselected.
        Hide
        Carmen Cristurean added a comment -

        Showcase > checkboxButton, ButtonGroup issues have been resolved (IF4 trunk rev. 41826/ IE10, FF30, Chrome35).

        Show
        Carmen Cristurean added a comment - Showcase > checkboxButton, ButtonGroup issues have been resolved (IF4 trunk rev. 41826/ IE10, FF30, Chrome35).

          People

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

            Dates

            • Created:
              Updated:
              Resolved: