Ajax headercontribution does not handle resourcereference id's
--------------------------------------------------------------
Key: WICKET-3378
URL: https://issues.apache.org/jira/browse/WICKET-3378
Project: Wicket
Issue Type: Bug
Components: wicket
Reporter: Major Peter
For example:
* create a Behavior, which will add some JavaScript reference in it's
renderHead (the reference has an own id, so wicket could prevent duplications)
* create an invisible component and add this behavior to it
* make that component visible with ajax
* the new script tag will look something like this:
<script id=""
src_="./wicket/resource/com.mycompany.HomePage/demo-ts1295874265000.js">alert('hello');</script>
Note here:
* the id attribute is empty. (Why set id attribute if it's content is empty?)
* there is no type="text/javascript" attribute which is a required attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.