You can put your pages into subdirectories.  The page name changes, then.
So, if you have /pages/Result.html in your root directory, the corresponding
.page file would be found if you put it in /WEB-INF/pages/Result.page.  The
page name would actually be "pages/Result".

-----Original Message-----
From: Greg Cormier [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 1:33 PM
To: Tapestry users
Subject: RE: Relocating html files to other directories

Hi,

By any chance, you wouldn't happen to know if it is possible to put the page
files in sub directories without specifying every single page in your .app
file?

Greg

-----Original Message-----
From: Nima Boustanian [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 1:21 PM
To: Tapestry users
Subject: Relocating html files to other directories


Hey all

I've managed to tell Tapestry the new path to my page files are by using 
the following command in my .app file.
<page name="Result" specification-path="pages/Result.page"/>

Is there a corresponding feature where you can specify where Tapestry 
should look for html files? I don't want to put
them in the context root since I have over 30 html templates and it 
easily gets cluttered.

Thanks!

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

Reply via email to