[Zope] Strange dtml-var behavior

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Wed, 29 Aug 2001 18:39:44 +0400 (MSD)


On Wed, 29 Aug 2001, James van der Veen wrote:
> <dtml-let text="picture +'_text'">
>
> <img src="<dtml-var picture>" width="500">
> <br>
> <dtml-var text>
>
> but this results in the page showing met the text:
>
>  agenda_gif_text
>
> The thing is I donīt want it to return this bit of text but the propety
> agenda_gif_text that the folder it lives in has.

   Interpret it in the namespace:  <dtml-var "_[text]">

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.