[Zope-CMF] dtml-var absolute url?

Ricardo L. A. Bánffy rbanffy@utopia.com.br
Sun, 30 Dec 2001 22:25:59 -0300


This is a multi-part message in MIME format.
--------------070408000306040406020703
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Jan Mechtel wrote:

> Hi,
> I wonder why this doesn't work
> <dtml-var somePythonScript(absolute_url)>
>
> there is allways a keyError und absolute_url
>
Maybe you could try

<dtml-var expr="somePythonScript(absolute_url())">

That shall do the trick





--------------070408000306040406020703
Content-Type: message/rfc822;
 name="Re: [Zope-CMF] dtml-var absolute url?"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: [Zope-CMF] dtml-var absolute url?"

>From - Sun Dec 30 22:24:01 2001
X-Mozilla-Status2: 00000000
Message-ID: <3C2FBE07.4050100@utopia.com.br>
Date: Sun, 30 Dec 2001 22:23:19 -0300
From: "Ricardo L. A. =?ISO-8859-1?Q?B=E1nffy?=" <rbanffy@utopia.com.br>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: en-us
MIME-Version: 1.0
To: jan@pc-sofa.de
Subject: Re: [Zope-CMF] dtml-var absolute url?
References: <ODEKLGGKNNOJODGJAAMJGEACCDAA.jan@pc-sofa.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Jan Mechtel wrote:

>Hi,
>I wonder why this doesn't work
><dtml-var somePythonScript(absolute_url)>
>
>there is allways a keyError und absolute_url
>
Maybe you could try

<dtml-var expr="somePythonScript(absolute_url())">

That shall do the trick




--------------070408000306040406020703--