Martin Grigorov created WICKET-5384:
---------------------------------------

             Summary: Allow form components to trim the input themselves
                 Key: WICKET-5384
                 URL: https://issues.apache.org/jira/browse/WICKET-5384
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.11.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to