[ https://issues.apache.org/jira/browse/WICKET-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Major Peter updated WICKET-3378: -------------------------------- Attachment: wicket-3378.tar.gz Check out the attached quickstart application with Firebug for an example. > 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 > Attachments: wicket-3378.tar.gz > > > 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.