Figured this one out. I've been developing with my pages in src/main/webapp/WEB-INF/ and my components in src/main/resources. After switching my pages over to src/main/resources (as the Tapestry site instructs) I was able to effectively rename my pages to something other than Start.
I don't have the intricate knowledge of Tapestry to provide a logical explanation. I just went back and verified my configuration with the Tapestry website. -----Original Message----- From: Alexandru Dragomir [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 6:22 PM To: Tapestry users Subject: Re: T5: Can't use any page name but "Start" I made a small test and it works . Should be fine with these files: com.my.package.root.pages.Start.java com.my.package.root.pages.admin.Test.java com.my.package.root.component.Messages.java WEB-INF/Start.html WEB-INF/admin/Test.html Both Start.html and Test.html contain the tag <t:messages/> With both links ..../root/start and ..../root/admin/test works for me. Alex On 6/13/07, Joel Wiegman <[EMAIL PROTECTED]> wrote: > > Thanks for the response Alexandru. > > Yeah, it's all in the correct spot (keep in mind I just renamed an > already-working file). > > My "ViewStatus.html" is: > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > > <body> > > <t:messages/> > > </body> > > </html> > > -----Original Message----- > From: Alexandru Dragomir [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 13, 2007 12:39 PM > To: Tapestry users > Subject: Re: T5: Can't use any page name but "Start" > > I can think about the following : > - you must have the "messages" declared in the html file too > - make sure the html is in the right place > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.htm > l > -> Template Location > > Hope it helps. > > Alex > > On 6/13/07, Joel Wiegman <[EMAIL PROTECTED]> wrote: > > > > All, > > > > I have an HTML file and Java file that functions perfectly with the > > following structure: > > > > /status/Start > > > > When I rename the HTML and Java file to something more meaningful, > like: > > > > /status/ViewStatus > > > > Run a clean build and load the page, none of my embedded components > > are found anymore: > > > > "Component com.btservices.storeportal.web.pages.status.ViewStatus > > does > > > not contain an embedded component with id 'messages'." > > > > My java file, of course, has a messages component in it: > > > > package com.btservices.storeportal.web.pages.status; > > > > import com.btservices.storeportal.web.components.Messages; > > > > public class ViewStatus { > > > > @Component > > private Messages messages; > > > > } > > > > Completely confused! Anyone know why this would be happening? > > > > Thanks, > > > > Joel > > > > -------------------------------------------------------------------- > > - 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]