> Jesper Zedlitz <[EMAIL PROTECTED]> wrote > This is the T4 feature: > < http://tapestry.apache.org/tapestry4/UsersGuide/template.html#template.directives.content > > > Is something like this possible with T5?
The replacement of $content$ is the t:container construct (see https://issues.apache.org/jira/browse/TAPESTRY-1469). So, you could write: <html> <head> <title>This is a test</title> </head> <body> <t:container xmlns:t= "http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <table t:id="testGrid"> </table> </t:container> </body> </html> T5 only renders the contents in the container, the stuff around is ignored (works since 5.0.6). There is no real replacement of $remove$ but there are some options: - use t:block around content to be removed - write a custom component Remove which returns false in beginRender. You could use it like: <tr t:type="Remove">....</tr>. Maybe Howard will write some kind of stuff (or take your comonent if you add it to a JIRA). -- Chris