I have a problem using the classic pipeline under T3, that I can't seem to
fix.

I want to change the file extension for my templates. I have found a number
of strange things:

After chaning the extensions from vm to my extension in the Turbine and
Fulcrum properties files, my first result was a null pointer error when the
TemplateService called templateExists.

Strange said I. I then tried adding the vm extention back to the list, i.e.
default.extention = myext,vm

Everything seemed to work great - templates with my extension were no
loading perfectly.

Then I noticed that while the classloader was successfully finding the
appropriate associated screen class, the fileresourceloader, was always
using the default layout (ie the one in the root layout dir) rather than the
one the corresponding directory. e.g.

If a requested: /template/test/test.myext

which corresponded on the filesystem to:

/templates/screens/test/test.myext

then I would expect the layouts to be searched in the following order:

1. /templates/layout/test/test.myext
2. /templates/layout/test/default.myext
3. /templates/layout/default.myext

but it always loads 3 even in 1 and 2 exist.

Has anyone else experienced this behaviour?

Gareth

Reply via email to