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. WICKET-4759.patch
        1 kB
        Wolfgang Kritzinger
      2. filter-columns.tar.gz
        21 kB
        Wolfgang Kritzinger

        Activity

        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
        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
        Hide
        Wolfgang Kritzinger added a comment -

        proposed patch against master

        Show
        Wolfgang Kritzinger added a comment - proposed patch against master
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development