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 Grigorov (JIRA)" <ji...@apache.org> on 2014/12/05 12:26:12 UTC

[jira] [Updated] (WICKET-5783) Multiple events in AjaxEventBehavior with prefix 'on'

     [ https://issues.apache.org/jira/browse/WICKET-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-5783:
------------------------------------
    Summary: Multiple events in AjaxEventBehavior with prefix 'on'  (was: multiple events in AjaxEventBehavior)

> Multiple events in AjaxEventBehavior with prefix 'on'
> -----------------------------------------------------
>
>                 Key: WICKET-5783
>                 URL: https://issues.apache.org/jira/browse/WICKET-5783
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Filipe Roque
>            Assignee: Martin Grigorov
>         Attachments: events.zip
>
>
> if multiple events are used and one starts with "on", it only works if it is the first one, because of:
> {code}
> 		if (event.startsWith("on"))
> 		{
> 			event = event.substring(2);
> 		}
> {code}
> Why are events possible to start with "on" ? 
> Is this legacy? Perhaps should be removed for Wicket 7 ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)