17 Apr
2006
17 Apr
'06
7:07 p.m.
Erik Billing wrote at 2006-4-16 18:55 +0200:
... Thanx, it worked fine when I allowed the unauthorized module, but I still wonder if this is the way I *should* do it, is there no easier way that does not incorporate an python script (or a similar clumsy dtml solution). It just feels a little overkill to write a specific script just to access the files in a directory.
You can use the "LazyFilter" from the "ZTUtils" package. In fact, it is defined in "ZTUtils.Zope" (but exported via "ZTUtils") and you can look there for its signature. -- Dieter