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 2006/03/10 15:24:36 UTC
[Jakarta-tapestry Wiki] Trivial Update of "CustomTagsInShell" by
AndreasAndreou
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.
The following page has been changed by AndreasAndreou:
http://wiki.apache.org/jakarta-tapestry/CustomTagsInShell
------------------------------------------------------------------------------
}
}}}
+ '''There's another solution that does NOT require the creation of a custom delegate class.'''
+
+ {{{
+ <span jwcid="$content$">
+ <html jwcid="shell">
+ <head jwcid="remainingHead@Block">
+ <meta name="copyright" content="YOUR_COPYRIGHT_NOTICE"/>
+ <meta name="author" content="YOUR_NAME"/>
+ <meta name="robots" content="Index,Follow"/>
+ ...
+ <link rel="SHORTCUT ICON" href="favicon.ico" />
+ </head>
+ <body jwcid="@Body">
+ ...
+ }}}
+
+ and then in the page specification:
+
+
+ {{{
+ <component id="shell" type="Shell">
+ <binding name="delegate"
+ value="new org.apache.tapestry.components.BlockRenderer(components.remainingHead)"/>
+ </component>
+ }}}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org