UPDATE:
I created a new TestBasePage and a new class that extends TestBasePage. The
markup for TestBasePage has the same <head> mark up as that in my
application's BasePage class. When I tested the rendered html it still has
two <head> tags. I then added the <wicket:head> tag to the child class of
TestBasePage and then the second <head> disappears. So:
I put this in the child class before the <wicket:extend> tag:
<wicket:head>
</wicket:head>
Which renders the following, removing the second <head> tag:
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1"
/>
<title>Test page</title>
<link type="text/css" rel="stylesheet" href="css/application.css" />
</head>
Not really a solution, and I still don't know why it's happening.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4650357.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]