You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2020/06/01 15:48:00 UTC

[jira] [Created] (WICKET-6797) Use space character as a separator for event names in AjaxEventBehavior

Martin Tzvetanov Grigorov created WICKET-6797:
-------------------------------------------------

             Summary: Use space character as a separator for event names in AjaxEventBehavior
                 Key: WICKET-6797
                 URL: https://issues.apache.org/jira/browse/WICKET-6797
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 9.0.0-M6
            Reporter: Martin Tzvetanov Grigorov
            Assignee: Martin Tzvetanov Grigorov


At the moment AjaxEventBehavior uses "\s+" regex to split the string with event names.
This splits by one or many space(s), tab(s), vertical tab(s), carriage return(s), ...
But there is no need of the extra complexity. We should use only space character as a separator. This is what users use anyway. And it is better performant.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)