THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<wicket:head>panel header</wicket:head> <body onload="function()"> <wicket:panel> panel </wicket:panel> </body> |
Wicket will not only inject the <wicket:head> region into the output, it will also (anymore) append the <body> onLoad attribute to the Page's onLoad attribute. The output generated may look like:
...
. To append javascript to the onLoad, have your component implement IHeaderContributor and add it there.
Linking directly to a CSS page
...