Please ignore that message with my apologies.  Tapestry is finding the
templates today exactly as the UserGuide said it would.  I have to
assume I was tricked by IE's caching practices.

Jim

-----Original Message-----
From: Jim Steinberger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 12, 2006 8:28 PM
To: tapestry-user@jakarta.apache.org
Subject: Location of .page & template files.

Hey all,

 

It says at http://jakarta.apache.org/tapestry/UsersGuide/template.html
that first Tapestry looks for templates in the same location as the page
specification file, and then in the web application's context root
directory.

 

I like to organize my files like so:

  -- .page files in /(ROOT)/WEB-INF/config/tapestry/pages/

  -- templates in /(ROOT)/

 

However, Tapestry complains about missing template files in this case,
unless I make sure each page's specification file has <asset
name="$template" path="/___.html" /> in it.  But unless I am
misunderstanding the algorithm from the user-guide, I shouldn't have to
do that.  Looking for clarification and/or a cleaner way to organize
things that way I'd like to.

 

Thanks!

Jim Steinberger


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to