[ https://issues.apache.org/jira/browse/WICKET-5384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-5384. ------------------------------------- Resolution: Fixed Fix Version/s: 6.12.0 7.0.0 > 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 > Fix For: 7.0.0, 6.12.0 > > > 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)