Re: Closing of meta tags
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 ModelPage(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
Closing of meta tags
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 ModelPage(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 / ? -Gianni - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Closing of meta tags
is it causing you harm? -igor On Wed, Jul 28, 2010 at 8:09 AM, Gianni gdoe6...@yahoo.it wrote: 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 ModelPage(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 / ? -Gianni - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Closing of meta tags
For some reason I'm getting what you want: titlePage 2/title !-- The following injected dynamically -- meta name=keywords content=This is picked from classpath:Page2.properties/ My wicket.version1.4.8/wicket.version -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Closing-of-meta-tags-tp2305127p2305215.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
Re: Closing of meta tags
I get an ugly error message in the Safari Web Inspector saying Unmatched /meta encountered. Ignoring tag Not sure why it flags it up as an error as I'm using the XHTML 1.0 Transitional DTD and the closing tag must be valid, I'd just rather use the shorthand for neatness. On 28/lug/2010, at 17.26, Igor Vaynberg wrote: is it causing you harm? -igor On Wed, Jul 28, 2010 at 8:09 AM, Gianni gdoe6...@yahoo.it wrote: 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 ModelPage(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 / ? -Gianni - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org