[Zope] Using Image name like "foo.gif" w/o painful <dtml-with> problems?

Dieter Maurer dieter@handshake.de
Mon, 23 Jul 2001 23:12:55 +0200 (CEST)


Joel Burton writes:
 >   <dtml-var "images.randompic.tag(hspace=10)">
 > 
 > has to become 
 > 
 >   <dtml-with images>
 >     <dtml-with randompic.gif>
 >       <dtml-var "tag(hspace=10)">
 >     </dtml-with>
 >   </dtml-with>
You can use "restrictedTraverse". It gives you URL like
path expressions.



Dieter