[Zope] Simple DTML (dtml-with) question ...

Michel Pelletier michel@digicool.com
Thu, 18 Nov 1999 10:13:06 -0500


> -----Original Message-----
> From: Darran Edmundson [mailto:Darran.Edmundson@anu.edu.au]
> Sent: Wednesday, November 17, 1999 9:46 PM
> To: zope@zope.org
> Subject: [Zope] Simple DTML (dtml-with) question ...
> 
> Trying to run the following snippet of DTML within
> top gives (not surprisingly) the correct image id
> but fails to render the image.
> 
> <dtml-with child>
>    <dtml-with childimage>
>       Image <dtml-var id> renders as <img src="<dtml-var id>">
>    </dtml-with>
> </dtml-with>
 
<dtml-with child>
  <dtml-with childimage>
    <img src="<dtml-var absolute_url>">
  </dtml-with>
</dtml-with>

Or Rob's suggestion.

-Michel