That doesn't seem to matter. In fact I set up the test app before
turbine/tomcat was even started. Start it up, go directly
to the url listed below, and it pulls layouts/Default.vm not
layouts/test/Default.vm. The correct screen is being rendered, but with
the wrong layout. I've tar-gzip'd the test app I created and put it on my
patches site
http://sites.netscape.net/ekkerbj
This is a simple app generated by tdk1.10a and then I added the new layout
and screen template, that's it.
> -----Original Message-----
> From: Keng Wong [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 29, 2001 4:20 PM
> To: Turbine
> Subject: RE: Layout lookups using Velocity and TDK 1.10a
>
>
> 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]
>
-----------------------------------------------------------------------
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]