[Zope] acces an object in a folder without Tranparent Folders

Casey Duncan c.duncan@nlada.org
Thu, 18 Oct 2001 10:26:14 -0400


On Thursday 18 October 2001 09:56 am, Florian Schuler allegedly wrote:
> Hello List,
>
> maybe it is a newbe question but I think youŽll forgive me :-)) !!
>
> I created a folder called IMGAES and in this folder an image object --
> IMAGENAME.
>
> How can I access this image. With Transparent Folders it doesnŽt matter.
> I used <dtml-var IMAGENAME>
> But without I get some errors when I use that.
> I`m sure someone knows an awnser.
>
> Thaks in advance
>
> Florian
>

in dtml:

<dtml-var expr="IMAGES.IMAGENAME">

or

<dtml-with name="IMAGES">
  <dtml-var name="IMAGENAME">
</dtml-with>

hth, 
/---------------------------------------------------\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  c.duncan@nlada.org
\---------------------------------------------------/