I'm trying to implement:
Because the test server is defaulting IE8 to compatibility view.. Which is screwing up my layout.
Is there a special way to implement this with wicket?
Also, I do have javascript being ran so i don't know if this is interfering with it or not.
is set right after the tag and is the first thing before I've also tried it inside of still no luck.
Just in case anyone ever runs into this problem while using wicket, I was able to fix this problem by overriding the headers of my parent page like so:
protected void setHeaders(WebResponse response)
{
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate,
no-store");
response.setHeader("X-UA-Compatible", "IE=edge");
}
and this worked like a charm!
this -> response.setHeader("X-UA-Compatible", "IE=edge"); is what solved it.