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

Filipe Roque updated WICKET-5783:
---------------------------------
    Description: 
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 ?


  was:
if multiple events is 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 ?



> multiple events in AjaxEventBehavior
> ------------------------------------
>
>                 Key: WICKET-5783
>                 URL: https://issues.apache.org/jira/browse/WICKET-5783
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Filipe Roque
>         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)

Reply via email to