This is, of course, not true.  If you follow the conversation between Gregg and 
myself that resulted from his original message you'll learn that Tapestry can 
find your page if the template (with the same name as the class, of course) is 
in the servlet context relative to the servlet root.  Thus, page "Home" would 
be found if Home.html is in servlet root, and the page "mySubDir/MyPage" would 
be found if the template "MyPage.html" was found in /mySubDir under servlet 
root.
 
jeff

________________________________

From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
Sent: Sat 1/14/2006 5:14 AM
To: Tapestry users
Subject: Re: Annotations - No .page file?



Currently, you need to have a .page file for your page even if you use
only annotations - or Tapestry's page location logic won't find your page.

-Filip

Gregg Bolinger wrote:
> I am trying to get a good feel for replacing as much in the .page file using
> annotations.  I have a very simple page and I have used annotations for the
> Form and the TextField.  I tried removing the .page file completely,
> assuming it was no longer needed, but I got an exception:
>
> Page 'Home' not found in application namespace.
>
> My question is what can I do, if anything, to lose the .page file
> completely?  Or do I have to have one no matter what, just empty.
>
> Thanks.
>
> Gregg
>



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

Reply via email to