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

Will Hoover commented on WICKET-1203:
-------------------------------------

The only script that would be effected by this change would be inline script. 
The proposed solution is to implement "a more intelligent insertion of the 
script farther down the dom tree". That doesn't mean that the script has to be 
at the bottom of the page in every case. One way, but definitely not the only 
way to address this is to detect any inline script that is added to the page 
and wrap in an onload listener. 

If the above solution is not preferred, at least provide a simple means to 
override where the core wicket script and contributors are rendered so that 
anyone that wants to increase performance can do so (knowingly asserting the 
consequences if any inline script is added that uses it before it loads) :)

> Support JavaScript contributions that will insert includes at the bottom of 
> markup instead of header
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1203
>                 URL: https://issues.apache.org/jira/browse/WICKET-1203
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>            Reporter: Will Hoover
>            Assignee: Matej Knopp
>            Priority: Minor
>             Fix For: 1.4.0-M1
>
>
> Create/Update forJavaScript that is external from the HeaderContributor that 
> does a more intelligent insertion of the script farther down the dom tree to 
> increase performance.
> Reference: http://developer.yahoo.com/performance/rules.html#js_bottom

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to