[Zope] Zope and filename.extensions

Paul Winkler slinkp@bestweb.net
Wed, 5 Sep 2001 13:03:56 -0400


On Wed, Sep 05, 2001 at 12:06:37AM +0200, Dieter Maurer wrote:
>  > Imagine a directory called "images" stuffed full of stuff like
>  > "logo.jpg", "spleen.png" etc.  Also imagine wanting to dynamically get
>  > at those files' attributes, or play about with them for one reason or
>  > other.  This becomes more complicated than is needed, doesn't it?
>  > 
>  > How do you (em, er, you know, the one's that actually know what they are
>  > doing) get around this feature?  Will I always have to go through extra
>  > hoops just to use commin filenames to support non-ZMI editors?

This is another area where ZPT is easier than DTML.
See for example http://www.zope.org/Members/peterbe/DTML2ZPT/#example16

-- 
...................    paul winkler   ....................
custom calendars & printing: http://www.calendargalaxy.com
       A member of ARMS:   http://www.reacharms.com
            home page:  http://www.slinkp.com