I'm controlling the content of my <meta> tags with an AttributeAppender and in my markup they are closed with />
<meta wicket:id="metaKeywords" name="keywords" content="" /> <meta wicket:id="metaDescription" name="description" content="" /> WebComponent keywords = new WebComponent("metaKeywords"); StringResourceModel keyModel = new StringResourceModel("meta.standard-keywords", this, new Model<Page>(this)); keywords.add(new AttributeAppender("content", keyModel, " ")); add(keywords); On output the tags are getting closed with </meta> <meta name="keywords" content="my keywords...." ></meta> Is there any way to prevent the separate closing tag and just keep the /> ? <meta wicket:id="metaKeywords" name="keywords" content="" /> Try it another way. WebComponent keywords = new WebComponent("metaKeywords"); String keyModel="Resource Key'svalue"; keywords.add(new SimpleAttributeModifier ("content",keyModel)); add(keywords); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Closing-of-meta-tags-tp2305127p2309024.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org