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 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
> get the contribution.
>
> Is there any way to do this in wicket 1.5?
>
> Thanks,
>
> Josh



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to