Hello, I created sample tapestry5 applicatoin from maven quickstart archetype...
Then I created Layout.tml and Layout.java Layout.tml: <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <head> <title>My Tapestry Application</title> </head> <body> <t:body/> </body> </html> Layout.java: public class Layout { } Index.tml: <html t:type="layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <h1>tamsimple Start Page</h1> <p> This is the start page for this application, a good place to start your modifications. Just to prove this is live: </p> <p> The current time is: ${currentTime}. </p> <p> [<t:pagelink t:page="Index">refresh</t:pagelink>] </p> </html> Index.java: public class Index { public Date getCurrentTime() { return new Date(); } } Source from browser is: <p> [<a href="/tamsimple/">refresh</a>] </p> There is no <html> tag... It renders only last <p> element from Index.tml. I am using tapestry 5.0.15. thanks, m. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
