You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Dan Washusen <da...@reactive.org> on 2011/03/11 03:11:19 UTC

BodyTagAttributeModifier doesn't seem to do anything

Hey All,
I'm attempting to add a css class to the body element of extensions of our base page. I've been trying to get BodyTagAttributeModifier working but it doesn't seem to do anything.

In the onInitialize method I'm using the following:
add(new BodyTagAttributeModifier("class", true, Model.of("authenticated"), this /* the page */));

Anyone have any hints on how to achieve this?

Cheers,
-- 
Dan Washusen