[ 
https://issues.apache.org/jira/browse/WICKET-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159725#comment-13159725
 ] 

Robert McGuinness commented on WICKET-3367:
-------------------------------------------

some food for thought that maybe Wicket can incorporate into it's javascript 
layer (pardon if this is already handled)

"In some cases your scripts will load after the user has clicked on something 
that requires a JavaScript function to handle the click. It’s possible you have 
a pure HTML version, but if the user has JavaScript enabled then we want to use 
it, even if the JavaScript hasn’t loaded yet. There needs to be a way of 
handling events before all of the assets have finished loading."

http://dailyjs.com/2011/11/28/flickr-async/
                
> Rewrite all JavaScript inline event handlers to be proper attached event 
> handlers
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-3367
>                 URL: https://issues.apache.org/jira/browse/WICKET-3367
>             Project: Wicket
>          Issue Type: Sub-task
>            Reporter: Igor Vaynberg
>             Fix For: 6.0.0
>
>         Attachments: WICKET-3367.patch, WICKET-3367.patch, WICKET-3367.patch
>
>
> Currently events added inside onclick, onsubmit attributes are problematic 
> because they cannot be cancelled by other event handlers that are attached to 
> events via javascript's addEventListener() and friends. We should extract all 
> such inlined handlers and attach them via our Wicket.Event api.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to