I may be wrong, but I think you can put your .page files under WEB-INF and
your .html under the context. That way you'll have them separated.

On 5/25/06, Carl Pelletier <[EMAIL PROTECTED]> wrote:

Hi everyone, I`m starting a project with Tapestry 4.0 and was wondering if
someone have recommendation on how to structure my project.

I don`t really understand how Tapestry work with directory. It`s like
everything is in the same folder.

For us, it`s doesnt fit to have juste one directory with all the .page
.html and component in the same folder.

I know I can specify where are the component by using
org.apache.tapestry.component-class-packages but it`s just work for the
java files.

Is there a way to specify all this without adding each page in the
.application ?

For now, we doing something like:
   <page name="contactHome" specification-path="contact/home.page" />
   <page name="contactList"
specification-path="contact/gestionContacts/contactList.page" />
   <page name="contact"
specification-path="contact/gestionContacts/contact.page"/>
   <page name="profilCRUD"
specification-path="contact/gestionContacts/contact.page" />
   <page name="conjointCRUD"
specification-path="contact/gestionContacts/conjointCRUD.page" />
   <page name="adjointCRUD"
specification-path="contact/gestionContacts/adjointCRUD.page" />
   <page name="entrepriseCRUD"
specification-path="contact/gestionContacts/entrepriseCRUD.page" />
   <page name="consommationCRUD"
specification-path="contact/gestionContacts/consommationCRUD.page" />

For each section and sub section. At the end of the project, we will have
~200 pages. It's we be a real mess in the .application, don`t you think ?

Thanks for any advise, help or recommendation!

Really sorry for the bad english, I`m french.

Carl Pelletier





--
Cumprimentos,
Rui Pacheco

Reply via email to