You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/06/07 14:55:58 UTC
[jira] [Resolved] (WICKET-3761) unexpected order of head
contributions
[ https://issues.apache.org/jira/browse/WICKET-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3761.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC5
Assignee: Martin Grigorov
With r1132987 the markup contributes before the .java. This way it works as in 1.4.
> 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
> Assignee: Martin Grigorov
> Fix For: 1.5-RC5
>
> Attachments: w-head-contributions-order.zip, wicket-3761-quickstart-1.4.tgz
>
>
> 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