Wicket
  1. Wicket
  2. WICKET-5384

Allow form components to trim the input themselves

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.11.0
    • Fix Version/s: 6.12.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      Make org.apache.wicket.markup.html.form.FormComponent#trim non-final so they can trim the input with more sophisticated ways.

      String#trim() removes only the breaking whitespaces.
      To trim non-breaking ones the application can use Guava's CharMatcher.WHITESPACE.trimFrom(str) for example.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1m 20s 1 Martin Grigorov 04/Oct/13 15:16
        Martin Grigorov made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Fix Version/s 6.12.0 [ 12324889 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development