Yes. I still get the error. However, I tried pulling the template out of the sub folder and into the WEB-INF directory and I still get the error. I added a blank html file and I still get the error.
The url I am entering is http://localhost:8080/MyApp/app?service=external&page=MyPage and the problem is PageNotFoundException Page 'MyPage' not found in the application namespace. Thanks for your help, Rob -----Original Message----- From: Martin Strand [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 4:31 PM To: Tapestry users Subject: Re: page specifications in sub directories If your page class extends BasePage, I'm pretty sure you must have a template. Have you tried putting an empty .html file next to the .page spec? On Thu, 11 May 2006 01:18:55 +0300, Rob Dennett <[EMAIL PROTECTED]> wrote: > By the way, in the message below, the page I refer to has a > specification and a java class, but no template. That shouldn't matter, > should it? > > Incidentally, I added <page name="MyPage" > specification-path="myDir/MyPage.page" /> to my application > specification and I still get the problem. > > Thanks for your help, > Rob > > -----Original Message----- > From: Rob Dennett > Sent: Wednesday, May 10, 2006 2:21 PM > To: users@tapestry.apache.org > Subject: page specifications in sub directories > > I have a page specification in a sub directory of WEB-INF that doesn’t > seem to work. > > > If I enter > "http://localhost:8080/MyApp/app?service=external&page=myDir/MyPage”, I > get a PageNotFoundException saying that “myDir/MyPage” isn’t found. I > have read in much older threads that you needed to have a <page> tag in > the application specification for each page in a sub directory and > another thread saying that the above was the way to do it. The former > seems very inefficient (yeah, I know about the collectpages ant task). > Is it the only way to have page/component specs or templates in sub > directories? > > > BTW, what’s going on with apache.org? I haven’t been able to connect > for hours. > > > Thanks for your help, > > Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/335 - Release Date: 5/9/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.6/336 - Release Date: 5/10/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]