Why not use blocks

<head>
   <t:delegate to='headBlock'/>
</head>

...


public class Layout {

   @Parameter(defaultPrefix = BindingConstants.BLOCK)
   @Property
   private Block headBlock;
}

regards
Taha


On May 19, 2012, at 7:52 AM, TG wrote:

> I need to do this -
> 
> <!DOCTYPE html>
> <html t:type="layout"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
> xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>       <head>
>               <t:head/>
>       </head>
>       <body>
> ...
> 
> Kind nested layout. There is <t:body/>, why not <t:head>? if not, how should
> I write it so that I would not need to duplicate the header codes?
> 
> Thanks!
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/t-head-tp5712176.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to