Hi there. I'm looking to create a Layout.tml template file to hold the header/footer/navigation elements of my page, and then create the content within separate files such as Index.tml, About.tml
Obviously, at the moment, when viewing these files outside of Tapestry, they just show a snippet of html. It is only when running under tapestry that it fills in the surrounding header/body at runtime using the Layout.tml template and replacing the <t:body/> element. So far so good. But I would like Index.tml and About.tml to look complete when viewed as plain files (not running under tapestry), to help our designer. Therefore I would like Index.tml and About.tml to have all the complete header/body elements. I tried putting <t:remove> tags around the html in these files that I want tapestry to ignore at runtime (so it can replace them with the contents of Layout.tml. But this doesnt seem to work. Is there another way to achieve what Im trying to do? Many thanks, David. Is ther -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-layouts-partial-page-templates-tp4806800p4806800.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