Wicket
  1. Wicket
  2. WICKET-4759

FilterForm/FilterToolbar don't work when there's more than one IColumn to be filtered

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 6.1.0
    • Fix Version/s: 6.1.1, 6.2.0
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      Adding more than one IFilteredColumn to a DefaultDataTable wrapped in a FilterForm removes the ability to submit the form by pressing the enter key. A HTML form needs a submit button so it can be submitted by pressing enter. (For some reason it works when there's only one input field)

      I'll attach a quickstart to clarify the issue.

      1. filter-columns.tar.gz
        21 kB
        Wolfgang Kritzinger
      2. WICKET-4759.patch
        1 kB
        Wolfgang Kritzinger

        Activity

        Wolfgang Kritzinger created issue -
        Hide
        Wolfgang Kritzinger added a comment -

        Quickstart with a basic DefaultDataTable with two filtered columns

        Show
        Wolfgang Kritzinger added a comment - Quickstart with a basic DefaultDataTable with two filtered columns
        Wolfgang Kritzinger made changes -
        Field Original Value New Value
        Attachment filter-columns.tar.gz [ 12545041 ]
        Hide
        Wolfgang Kritzinger added a comment -

        proposed patch against master

        Show
        Wolfgang Kritzinger added a comment - proposed patch against master
        Wolfgang Kritzinger made changes -
        Attachment WICKET-4759.patch [ 12545043 ]
        Show
        Wolfgang Kritzinger added a comment - - edited Stackoverflow thread to the same issue: http://stackoverflow.com/questions/477691/submitting-a-form-by-pressing-enter-without-a-submit-button
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.1.1 [ 12323326 ]
        Resolution Fixed [ 1 ]
        Hide
        Martijn Dashorst added a comment -

        Also applied on the 6.1.1 branch

        Show
        Martijn Dashorst added a comment - Also applied on the 6.1.1 branch
        Martijn Dashorst made changes -
        Fix Version/s 6.2.0 [ 12323295 ]
        Martijn Dashorst made changes -
        Affects Version/s 6.1.0 [ 12322957 ]

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Wolfgang Kritzinger
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development