ICEfaces
  1. ICEfaces
  2. ICE-1466

Clicking on label does not select SelectManyCheckbox in IE

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#3
    • Fix Version/s: 1.7.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      any

      Description

      If you click on the rendered label of a SelectManyCheckbox selectitem, the item should be selected. This works in Firefox, but not IE. This is because we render the label outside of the input element, instead of the input containing the label:

      <label class="iceCheckbox">
          <input type="checkbox" value="value1" onclick="setFocus('');iceSubmitPartial(form, this, event);" name="gropupName" id="groupName:_1"/>Segment</label>

      instead of

      <input type="checkbox" value="value1" onclick="setFocus('');iceSubmitPartial(form, this, event);" name="groupId" id="groupId:_1"/>
       <label class="iceCheckbox" for="groupId:_1">
       Segment</label>

        Activity

        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Assignee Philip Breau [ philip.breau ]
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7.1 [ 10122 ]
        Resolution Fixed [ 1 ]
        Philip Breau made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Philip Breau [ philip.breau ]
        Ken Fyten made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Ken Fyten made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: