On 4/12/06, James Carman <[EMAIL PROTECTED]> wrote: > Sure you can. Most of my pages (in T4) don't have .page files. Tapestry > will search the packages you define in your .application file for your page > classes: > > <application> > <meta key="org.apache.tapestry.page-class-packages" > value="com.myco.page"/> > <meta key="org.apache.tapestry.component-class-packages" > value="com.myco.component"/> > </application> > > So, using this example, for a page named Hello, it will look for a class > called com.myco.page.Hello. It will also look for a Hello.html file in the > root of your webapp. No page specification file is required.
Thats what I thought, and that's what I've tried. However, I get an org.apache.tapestry.PageNotFoundException "Page 'Home' not found in application namespace.". Is there anything that needs to be in the class? My Home.java looks like this: """ package nu.localhost.tidrapport.tapestry.pages; import org.apache.tapestry.html.BasePage; public class Home extends BasePage { } """ And my application file: """ <application name="Tidrapport"> <description>Tidrapport</description> <meta key="org.apache.tapestry.page-class-packages" value="nu.localhost.tidrapport.tapestry.pages"/> </application> """ regards, Robin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]