Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5046

NumberTextField should use appropriate validator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.5.0
    • 6.7.0
    • wicket
    • None

    Description

      As it is now the NumberTextField always uses a range validator. If there's a missing bound it is calculated to be the min/max of the given datatype. This results in error messages like "value has to be between 1 and 2147483647" which isn't very user friendly.

      Attachments

        1. WICKET-5046.patch
          2 kB
          Christoph Leiter

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            cleiter Christoph Leiter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: