Thank you very much, that what I looking for. Sorry to ask a stupid question 
like that, I scan the Documentation many times, but english is not my natural 
language and I guess I just never read it like it should be.

Thanks again!

Carl Pelletier

----- Original Message ----
From: Erik Husby <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Thursday, May 25, 2006 10:34:51 AM
Subject: Re: Best directory stucture

In Tapestry 4, you can put your pages (the .html and .page files) in  
subdirectories that live under WEB-INF. That means that you address  
your pages like "contact/home" or "contact/gestionContacts/contactList"

So your directories would be WEB-INF/contact and WEB-INF/contact/ 
gestionContacts


On May 25, 2006, at 10:16 AM, Rui Pacheco wrote:

> 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

---
Erik Husby
Senior Software Engineer
Broad Institute of MIT and Harvard
Rm. 2192, 320 Charles St, Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227
email: [EMAIL PROTECTED] AIM: ErikAtBroad




Reply via email to