[Zope] expected string or Unicode object, ImplicitAcquirerWrapper found

Dieter Maurer dieter at handshake.de
Wed Mar 24 15:44:40 EST 2004


Marc Lindahl wrote at 2004-3-23 21:21 -0500:
> ...
>> I expect that you somehow want to get the object with id "logo.jpg".
>> This would look like:
>>
>>      "_.getitem(logoName())".
>
>
>got it...  that works...  also looks like no way to get something that 
>behaves like a variable or property but is really a python script 
>returning something :(

You can use DTML magic to blur the difference between
a variable and a Python Script:

  "_.getitem(_['logoName'])"

or

  <dtml-let logoName=logoName>
    ...logoName ...
  </dtml-let>

-- 
Dieter



More information about the Zope mailing list