on 1/28/01 2:06 PM, "Gergely Timar" <[EMAIL PROTECTED]> wrote:

> During the weekend I succeeded in narrowing down the problem.  It
> seems that the change was in our directory structure.  Until recently,
> all our templates were in the /templates/screens directory.  Now we
> have created some more sub directories under screens and moved some
> templates there.  The following are the symptoms: if we try to access
> a template under any of the sub directories (of screens) our templates
> are not found, because velocity tries to open the sub directory, and
> NOT the file in the sub directory (according to the velocity logs). If
> however the same templates are moved under screens, then everything is
> working fine.  This happens both under tdka9 and tdka10. The templates
> are called like:
> http://127.0.0.1/test/servlet/test/template/subdir1/test.vm (doesn't
> work) and
> http://127.0.0.1/test/servlet/test/template/test.vm (does work)
> 
> Does this offer any hints as to what is causing it?

We need a faq for this stuff...

Anyway, the solution is this:

http://127.0.0.1/test/servlet/test/template/subdir1,test.vm

You need a comma because Turbine interprets the PATH_INFO specially and
having another / in there screws up the name/value relationship so we choose
to use a "," instead for this case.

Please note that for accessing Action's in sub directories, it is with a "."
because that is a classname.

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
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