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

Frank Bille Jensen updated WICKET-1459:
---------------------------------------

    Fix Version/s:     (was: 1.3.3)

> wicket:head and texttemplate.forJavaScript gives syntax error in final markup
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-1459
>                 URL: https://issues.apache.org/jira/browse/WICKET-1459
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: Martijn Dashorst
>
> I have a panel that does a TextTemplateHeaderContributor.forJavaScript() and 
> a <wicket:head> section that includes some js files from the web app context.
> This ultimately results in the following generated markup:
> <script type="text/javascript"><!--/*--><![CDATA[/*><!--*/
> function startUp()
> {
>       pageSetup();
>        openPeriod();
> }
> </script>
> <script type="text/javascript" src="../resultaten.js"><!--
> /*-->]]>*/</script> 
> The second script (coming from the <wicket:head> is rendered inside the text 
> template.
> This results in a syntax error in IE(6/7) and Safari (3.1). However FF 2 
> doesn't complain.

-- 
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