Re: Adding a header contribution as the first in the head tag

2012-03-02 Thread Bas Gooren
Josh, You can use an application-wide IResponseFilter for this. Have a look at how ServerHostNameAndTimeFilter (in wicket-examples (*)) does it. *) E.g. look at

Re: Adding a header contribution as the first in the head tag

2012-03-02 Thread Martin Grigorov
Hi, Assign this meta to a WebComponent. html: head meta wicket:id=blah .../ java: WebComponent meta = new WebComponent(blah); meta.add(new AttributeModifier(x, y)) add(meta); On Fri, Mar 2, 2012 at 6:26 AM, Josh Chappelle jchappe...@4redi.com wrote: I'm trying to add an IE compatibility meta

Re: Adding a header contribution as the first in the head tag

2012-03-02 Thread jchappelle
Thanks! I was able to write an IResponseFilter and install it within my Application.init via the method getRequestCycleSettings().addResponseFilter(...). -- View this message in context:

Adding a header contribution as the first in the head tag

2012-03-01 Thread Josh Chappelle
I'm trying to add an IE compatibility meta tag and it needs to be the first item in the head tag otherwise it will not work. I have a BasePage that I can just put it in the html and that works fine for the most part but I would like a way to set it in the Application class that way any page will