Hi Josh,

This works, now if I have this in the Layout.html:

<head>
    <title>${title}</title>
</head>

Layout.java also has a getTtitle to return 'base page';

now how to replace this title with 'somepage' in the somepage.html? I add a
getTitle in the Somepage.java, but it still picks up 'base page', any
solution to this?

A.C.



Josh Canfield-2 wrote:
> 
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd ">
> 
> Could it be as silly as a space after the xsd?
> 
> I have run the following successfully
> 
> -----
> <file:///C:/cygwin/workspace/svn/thedailytube/src/main/resources/com/thedailytube/ui/tapestry/pages/SomePage.html>/src/main/resources/com/thedailytube/ui/tapestry/pages/SomePage.html
> -------
> 
> <t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>     <t:parameter name="sidebarContent">
>         SomePage Added Sidebar
>     </t:parameter>
>     This is the body content
> </t:layout>
> 
> -----
> /src/main/resources/com/thedailytube/ui/tapestry/components/Layout.html
> -------
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3ATiles--tf4310807.html#a12309092
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to