Jeff,
I asked a similar question before and the answer
is to restart turbine. The layouts are cache in the
session for performance (i tried changing module.cache but
it doesn't work).

However, it will work if turbine was started, the directory
(test) is created in both layouts and screens AND YOU HAVE
NOT ACCESSED IT yet. Anytime, you try accessing a test
directory in screens, the layout directories are parsed and
stored in the cache.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brekke, Jeff
Sent: Tuesday, January 30, 2001 12:41 PM
To: '[EMAIL PROTECTED]'
Subject: Layout lookups using Velocity and TDK 1.10a


We are seeing a problem looking up layouts using tdk 1.10a ( also tried with
turbine from cvs before the logging stuff landed ).  What we did was create
a subdirectory under screens and define a simple screen template.  Also
defined the same directory under layouts with a different layout.  I thought
turbine would look in the subdirectory matching the template dir for the
correct layout, but it doesn't:

templates/
     |
     |-layouts/
     |   |
     |   |-Default.vm
     |   |-test/
     |      |
     |      |-Default.vm
     |
     |-screens/
          |
          |-Index.vm
          |-test/
             |
             |-Index.vm

So when we use:

http://localhost:8080/testapp/servlet/testapp/template/test,Index.vm

It doesn't use layouts/test/Default.vm, the logs say it doesn't even look,
just grabs up layouts/Default.vm
Any ideas/clues?

jb





------------------------------------------------------------------------

This message has been scanned for viruses with Trend Micro's Interscan
VirusWall.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to