ICEfaces
  1. ICEfaces
  2. ICE-3432

PartialSubmit does not occur when the ice:outputLabel's "for" attribute corresponds to a drop down component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      PartialSubmit does not occur when the ice:outputLabel's "for" attribute corresponds to a drop down component.

      Using component showcase as a test case:

      1. Go to Extended Components -> Selection
      2. Change drop down from I/O to Selection. Partial submit occurs.
      3. Clicking on the label, "Select component type:" selects the first item in the
      drop down "I/O" but a partial submit does not occur.

        Activity

        Hide
        Ken Fyten added a comment -

        For the selection components, I don't think clicking the label should have any effect. Only the radio button and checkbox components should be affected by clicking on the label.

        Show
        Ken Fyten added a comment - For the selection components, I don't think clicking the label should have any effect. Only the radio button and checkbox components should be affected by clicking on the label.
        Hide
        yip.ng added a comment -

        Tried clicking label in Firefox and IE. Neither would change the selection.

        According to what I have read, labels are clickable for radio buttons and check boxes only. Otherwise, labels are used mainly for accessibility. And anyways, whatever a label does is a function of the browser. The renderer doesn't inject any partial submit function for a label. It just so happens that browsers treat clicking the label for a radio button or check box the same as clicking the radio button or check box itself, thereby generating a partial submit. Clicking the labels of other input controls doesn't seem to do anything.

        Show
        yip.ng added a comment - Tried clicking label in Firefox and IE. Neither would change the selection. According to what I have read, labels are clickable for radio buttons and check boxes only. Otherwise, labels are used mainly for accessibility. And anyways, whatever a label does is a function of the browser. The renderer doesn't inject any partial submit function for a label. It just so happens that browsers treat clicking the label for a radio button or check box the same as clicking the radio button or check box itself, thereby generating a partial submit. Clicking the labels of other input controls doesn't seem to do anything.
        Hide
        Ken Fyten added a comment -

        Cannot reproduce this issue. If this can be reproduced using a specific browser version, please re-open with that additional information.

        Show
        Ken Fyten added a comment - Cannot reproduce this issue. If this can be reproduced using a specific browser version, please re-open with that additional information.

          People

          • Assignee:
            yip.ng
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: