head components are not treated differently than other components.
Thie "public class Title extends Panel" is not implying that you
create a Panel just for the meta tag, do you? Just add the
"description" to your Panel/Page which contains the remaining html
tags not shown in your html snippet.
Juergen
On 7/28/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> how can I handle this problem:
>
> <head>
> <wicket:head>
> <meta wicket:id="description" name="description" content="[SEO page
> description]" />
> </wicket:head>
> </head>
>
> ....
>
> public class Title extends Panel {
> public Title(String id) {
> super(id);
>
> WebMarkupContainer description = new WebMarkupContainer("description");
> description.add(new AttributeModifier("content", true, new Model("me
> description")));
> add(description);
> }
> }
>
> Thanks for your support, Jan
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user