Gary Speer writes:
I've been through the books and searched howtos, but can't find the trick.
In short, I'm looking for the sytax to use to reference a file name that has an extension so that the extension is treated as a continuation of the filename and not treated as an attribute of a resulting non-existant object due to truncating the extension.
Depending on how you want to use it: <dtml-var image.gif> <dtml-var "_.getitem('image.gif')"> <dtml-var "_['image.gif']"> <dtml-var "_.getattr(someObject,'image.gif')"> <dtml-var "someFolder['image.gif']">
I am also trying to manage acquisition selectively Search the mailing list archives for "aq_explicit" or "aq_base".
BTW, your code is very difficult to read. You might consider indentation to improve readability. You should read about the effect of "dtml-with" (e.g. in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> ). Apparently, your current conception is not right. Dieter