[Zope] DestinationURL is a method ;-)

Chris Withers chrisw@nipltd.com
Thu, 24 Aug 2000 07:36:00 +0100


Adding a () to the DestinationURL above made it work::

    <dtml-call "RESPONSE.redirect(
       DestinationURL()+'/manage_workspace')">

Shouldn't this be fixed somewhere?

<CW>
What do you mean by 'fixed'?
It looks to me like DestinationURL is a python method, in which case you'll
need the () to call it and return a string, otherwise you're trying to
concatenate a python method with a string, which won't work ;-)

cheers,

Chris