[Zope] expected string or Unicode object, ImplicitAcquirerWrapper found

Chris Withers lists at simplistix.co.uk
Tue Mar 23 04:09:32 EST 2004


Marc Lindahl wrote:

> then I'm trying to use that in a DTML method.  This works fine:
> 
> &dtml-portal_url;/&dtml-logoName;
> 
> Whereas this gives me an error:
> 
> <dtml-var "_[logoName].getURL">

You liekly wouldn't have this mess if you wer eusing ZPT.

try:

<dtml-var "_[logoName].getURL()">

Failing that:

<dtml-var "_[logoName()].getURL()">

failing that, try:

<dtml-var "_.getItem(logoName).getURL()">

after that, find out what logoName really is ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list