I think it is nessesary to put all *.page file in one folder,for example: WEB-INF/pages/. It will very convinent to do this.




离人网

From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <users@tapestry.apache.org>
To: "Tapestry users" <users@tapestry.apache.org>
Subject: Re: Specify where to find the HTML templates
Date: Sat, 21 Apr 2007 15:34:53 -0700
>If you move your HTML templates to WEB-INF/ it will Just Work.
>
>Tapestry locates the .page file (if it exists) first, then looks for
>the
>HTML template in the same place. If not found there, then it looks
>in the
>root.
>
>There isn't a direct way to move the templates to WEB-INF/pages, but
>there
>are some hacks/kludges if its absolutely necessary. Is it, or is
>WEB-INF
>sufficient?
>
>On 4/18/07, mateamargo <[EMAIL PROTECTED]> wrote:
>>
>>
>>I 'm using Tapestry without problems. But I need to hide the HTML
>>templates.
>>Actually they are inside src/main/webapp, but I need them to be
>>inside
>>src/main/webapp/WEB-INF/pages. Where do I tell Tapestry that the
>>templates
>>are going to be there.
>>
>>Thanks.
>>--
>>View this message in context:
>>http://www.nabble.com/Specify-where-to-find-the-HTML-templates-tf3603234.html#a10066444
>>Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>--
>Howard M. Lewis Ship
>TWD Consulting, Inc.
>Independent J2EE / Open-Source Java Consultant
>Creator and PMC Chair, Apache Tapestry
>Creator, Apache HiveMind
>
>Professional Tapestry training, mentoring, support
>and project work. http://howardlewisship.com


免 费下载 MSN Explorer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to