Wednesday, July 25, 2007

Wicket : How-to set Dynamically the meta values

clipped from www.nabble.com

help: dynamically change the <meta> tag's content attribute

clipped from www.nabble.com
> <meta wicket:id="meta" name="description" content="I want to dynamically
change this text"/>

>

> code:

> WebMarkupContainer meta=new WebMarkupContainer("meta");

>  add(meta);

> meta.add(new SimpleAttributeModifier("content",

> mydynamiccontent);

0 comments: