You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sylvain Vieujot (JIRA)" <ji...@apache.org> on 2011/05/02 21:45:03 UTC

[jira] [Created] (WICKET-3661) IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute

IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute
--------------------------------------------------------------------------------

                 Key: WICKET-3661
                 URL: https://issues.apache.org/jira/browse/WICKET-3661
             Project: Wicket
          Issue Type: Improvement
    Affects Versions: 1.5-RC3
            Reporter: Sylvain Vieujot
            Priority: Minor


It would allow some nice optimization to allow to add script tags with a defer attribute like :
<script type="text/javascript" defer="true" src="myScript.js"></script>

I do not see any way to add the defer attribute right now.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-3661) IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute

Posted by "Sylvain Vieujot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028138#comment-13028138 ] 

Sylvain Vieujot commented on WICKET-3661:
-----------------------------------------

That was quick !
Thank you.

Sylvain,

> IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-3661
>                 URL: https://issues.apache.org/jira/browse/WICKET-3661
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.5-RC3
>            Reporter: Sylvain Vieujot
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.5-RC4
>
>
> It would allow some nice optimization to allow to add script tags with a defer attribute like :
> <script type="text/javascript" defer="true" src="myScript.js"></script>
> I do not see any way to add the defer attribute right now.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-3661) IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3661.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC4
         Assignee: Martin Grigorov

Improved with r1098984.

> IHeaderResponse.renderJavaScriptReference does not support the "defer" attribute
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-3661
>                 URL: https://issues.apache.org/jira/browse/WICKET-3661
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.5-RC3
>            Reporter: Sylvain Vieujot
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.5-RC4
>
>
> It would allow some nice optimization to allow to add script tags with a defer attribute like :
> <script type="text/javascript" defer="true" src="myScript.js"></script>
> I do not see any way to add the defer attribute right now.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira