You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/30 07:46:16 UTC

[Tapestry Wiki] Update of "CustomTagsInShell" by ErikVullings

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The following page has been changed by ErikVullings:
http://wiki.apache.org/tapestry/CustomTagsInShell

------------------------------------------------------------------------------
  {
  	public void render(IMarkupWriter writer, IRequestCycle cycle)
  	{
- 		addTag(writer, "copyright", "YOUR_COPYRIGHT_NOTICE");
+ 		addMetaTag(writer, "copyright", "YOUR_COPYRIGHT_NOTICE");
- 		addTag(writer, "author", "YOUR_NAME");
+ 		addMetaTag(writer, "author", "YOUR_NAME");
- 		addTag(writer, "robots", "Index,Follow");
+ 		addMetaTag(writer, "robots", "Index,Follow");
  		
- 		addTag(writer, "description", "DESCRIPTION");
+ 		addMetaTag(writer, "description", "DESCRIPTION");
- 		addTag(writer, "keywords", "KEYWORDS" );
+ 		addMetaTag(writer, "keywords", "KEYWORDS" );
  	}
  
- 	private void addTag(IMarkupWriter writer, String key, String value)
+ 	private void addMetaTag(IMarkupWriter writer, String key, String value)
  	{
  		writer.beginEmpty("meta");
  		writer.attribute("name", key);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org