[Zope-CMF] small problem...How to check whether object is existing or not

marc lindahl marc@bowery.com
Thu, 28 Jun 2001 12:33:26 -0400


Untested, but basic idea...

> From: "Dhanu" <dhanunjaya@mindscapecomputing.com>
>
> 
> <dtml-let image="URL+'_image'">
> <dtml-if image>
> <img src=&dtml-URL;_image align=left alt=&dtml-URL;_image >
> </dtml-if>
> </dtml-let>
> 


<dtml-let image="URL+'_image'">
   <dtml-if expr="_.getitem(image, 0)">
      <img src=&dtml-URL;_image align=left alt=&dtml-URL;_image >
   </dtml-if>
</dtml-let>