[Zope] avoiding nested DTMLs

Timothy Wilson wilson@visi.com
Mon, 19 Mar 2001 18:26:11 -0600 (CST)


On Mon, 19 Mar 2001, Casey Duncan wrote:

> Possibly this (untested):
> 
> <dtml-in testTable>
>     <dtml-if status>
>         <p><dtml-var expr="_[status]"></p>
>     </dtml-if>
> </dtml-in>
> 
> I don't see any way to safely avoid nesting the dtml-if tag, if status
> might be empty. This is not anything I would consider a problem though.

Cool. That worked. I need to read up on that _[] stuff. Thanks.

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/