[Zope] calling an object with a . in the name
J. Cameron Cooper
jccooper@rice.edu
Mon, 13 Aug 2001 11:17:09 -0500
> <dtml-with images>
> <dtml-var header.gif>
> </dtml-with>
>
> or
>
> <dtml-var "_.getattr(images, 'header.gif')">
>
>> 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.
>
I think that <dtml-var "images['header.gif']"> might do it as well.
Haven't tested it though.
--jcc
(out of my hat)