Ok when I do this my page comes up but the layout component does not show up. Here is what I have:
Layout.html: <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <head> <link t:type="any" rel="stylesheet" type="text/css" href="prop:stylesheet" /> <title>MyApp - ${title}</title> </head> <body> This is from layout <t:body/> </body> </html> Start.html: <t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <a t:type="pagelink" t:page="SayHello">Go to another page</a> </t:layout> The only thing that shows up on my page is: <a href="/sayhello" id="pagelink">Go to another page</a> On 4/2/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:
i had a similar issue when i forgot to include <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30097 [EMAIL PROTECTED] On Apr 2, 2007, at 10:54 AM, Chris Chiappone wrote: > Where is that supposed to be declared? > > On 4/2/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote: >> On 4/2/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: >> >> > For some reason I get the following: >> > >> > Failure parsing template context:WEB-INF/Start.html: The prefix "t" >> > for element "t:layout" is not bound. >> > >> > location >> > context:WEB-INF/Start.html, line 1, column 11 >> > 1 <t:layout> >> > 2 >> > 3 <a t:type="pagelink" t:page="SayHello">Go to another >> page</a> >> > 4 >> > 5 </t:layout> >> >> Did you declare t namespace? >> >> -- >> Massimo >> http://meridio.blogspot.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > ~chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]