If you put your html files in subfolders off the root, Tapestry will look in
subpackages under the main page package.


-----Original Message-----
From: Nemanja Kostic [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 18, 2006 2:18 PM
To: Tapestry users
Subject: Determining the page class in subpackages ?

Hi,

   In my Tapestry project I have more then 30 pages which page classes 
are located in different
packages. They all start with com.webaspect.tapestry.pages and then each 
page has its own package,
for example: page Profile is in package 
com.webaspect.tapestry.pages.profile etc.

Some of those pages do not have .page file.
So, it means that I need to list them all in <DEFANGED_meta tag of
.application 
file like:
<DEFANGED_meta key="org.apache.tapestry.page-class-packages"
    value="com.webaspect.tapestry.pages, 
com.webaspect.tapestry.pages.profile, ...... and other 30 subpackages 
... "/>

Is it possible to tell Tapestry to search for the page classes in 
subpackages as well, without needing
to list them all?
Would be perfect to write something like:
<DEFANGED_meta key="org.apache.tapestry.page-class-packages" 
value="com.webaspect.tapestry.pages.*"/>

Regards,
Nemanja.

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