wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Ignatyev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WICKET-3761) unexpected order of head contributions
Date Wed, 01 Jun 2011 21:52:47 GMT

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

Konstantin Ignatyev updated WICKET-3761:
----------------------------------------

    Attachment: w-head-contributions-order.zip

> unexpected order of head contributions
> --------------------------------------
>
>                 Key: WICKET-3761
>                 URL: https://issues.apache.org/jira/browse/WICKET-3761
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC4
>            Reporter: Konstantin Ignatyev
>         Attachments: w-head-contributions-order.zip
>
>
> when markup uses w-head contribution for static scripts
> <wicket:head>
>    <script type="text/javascript" src="http://link.from.markup/h.js" ></script>
> </wicket:head>
> and then component adds something dynamically in renderHead
> @Override
>     public void renderHead(IHeaderResponse response) {
>         super.renderHead(response);
>         response.renderJavaScriptReference("http://link.from.renderheadmethod/body.js");
>     }
> the dynamic link comes first and therefore does not work, repro case attached
> Expected: that programmatic contributions use after ones from markup 

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

Mime
View raw message