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.  


-----Original Message-----
From: Robin Ericsson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 12, 2006 12:23 PM
To: [email protected]
Subject: page without a .page

Hi,

Is it possible to create a page that consists only of a Java-class and
a .html file? I'm going to use as much annotations as I can, but as
I'm new to Tapestry I'm having a hard time finding information on the
website.


regards,
Robin

---------------------------------------------------------------------
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]

Reply via email to