[Zope] calling an object with a . in the name

Steve Spicklemire steve@spvi.com
Sun, 12 Aug 2001 22:16:43 -0500


<dtml-with images>
<dtml-var header.gif>
</dtml-with>

or

<dtml-var "_.getattr(images, 'header.gif')">

might do the trick...
-steve

On Sunday, August 12, 2001, at 08:40 PM, Tom Cameron wrote:

> I am trying to call an image of the name header.gif in the folder 
> images.
>
> Obviously
> <dtml-var images.header.gif">
> is not going to work
>
> I tried
> <dtml-var "images._['header.gif']">
> but this gives me an unauthorised error.
>
> so how do I call this image?
>
> Tom
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )