ICEfaces
  1. ICEfaces
  2. ICE-7490

ace:dataTable - setting enter for filterEvent doesn't filter contents

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2, 3.0.RC1
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3 trunk (11-24-2011)

      Description

      Filtering doesn't seem to be working when using the filterEvent="enter" value. In the filter field entering a value and hitting the enter key causes the filter field to be cleared but no filtering of the column data is done. With a simple test case this is working in the ICEfaces 2.1 Beta2 release.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case10737Example.zip [ 13809 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000JNv06]
        Arran Mccullough made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Hide
        Nils Lundquist added a comment -

        This is due to icefaces enter key handling capturing the event and making a submit without ever running the jQuery handler.

        Show
        Nils Lundquist added a comment - This is due to icefaces enter key handling capturing the event and making a submit without ever running the jQuery handler.
        Hide
        Nils Lundquist added a comment -

        I've confirmed the error is with the event priority, disabling the enter key handling for the h:form by adding DISABLE_CAPTURE_SUBMIT="true" fixes the issue.

        Show
        Nils Lundquist added a comment - I've confirmed the error is with the event priority, disabling the enter key handling for the h:form by adding DISABLE_CAPTURE_SUBMIT="true" fixes the issue.
        Hide
        Nils Lundquist added a comment -

        Issue lay with using JQuery live events, which need to bubble back to the document element to get run.

        Reverting to using bind() has fixed the issue, however its manual setup may result in cases where the filter input loses its keypress event.

        Show
        Nils Lundquist added a comment - Issue lay with using JQuery live events, which need to bubble back to the document element to get run. Reverting to using bind() has fixed the issue, however its manual setup may result in cases where the filter input loses its keypress event.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.0.RC1 [ 10300 ]
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: