Hello

I use a layout component for all my pages, like below.
But for some reason, the page title is not passed to the layout component. What am I doing wrong?
Leon

Page.tml
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; t:type="layout" title="${message:page-title}">
.....
</html>

Laout.tml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> <html xmlns="http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
   <head>
       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
       <link rel="shortcut icon" href="${asset:favicon.ico}"/>
       <title>${title}</title>
   </head>
   <body>
       <div id="container">
           <t:branding t:id="branding" />
<t:heading t:id="heading" t:breadCrumbs="basePage.breadCrumbHolder.breadCrumbs" />
           <t:body />
           <t:copyright t:id="copyright" />
       </div>
   </body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to