Re: show page title in layout component

2008-05-21 Thread Josh Canfield
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
> t:type="layout" title="${message:page-title}">

I believe you want to replace
title="${message:page-title}"
with
t:title="message:page-title"

Josh

On Wed, May 21, 2008 at 1:35 AM, Leon Derks <[EMAIL PROTECTED]> wrote:
> 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
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
> t:type="layout" title="${message:page-title}">
> .
> 
>
> Laout.tml:
> 
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> http://www.w3.org/1999/xhtml";
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>   
>   
>   
>   ${title}
>   
>   
>   
>   
>t:breadCrumbs="basePage.breadCrumbHolder.breadCrumbs" />
>   
>   
>   
>   
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

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



Re: show page title in layout component

2008-05-21 Thread Filip S. Adamsen

You're missing the t: namespace prefix on the title attribute.

Since you're putting it on a regular XHTML element, Tapestry won't 
process the attribute without it.


-Filip

Leon Derks skrev:

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
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; 
t:type="layout" title="${message:page-title}">

.


Laout.tml:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; 
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

   
   
   
   ${title}
   
   
   
   
   t:breadCrumbs="basePage.breadCrumbHolder.breadCrumbs" />

   
   
   
   


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



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



show page title in layout component

2008-05-21 Thread Leon Derks

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
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; 
t:type="layout" title="${message:page-title}">

.


Laout.tml:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; 
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

   
   
   
   ${title}
   
   
   
   
   t:breadCrumbs="basePage.breadCrumbHolder.breadCrumbs" />

   
   
   
   


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