[Zope] Problem on using nested <dtml-if>&<dtml-in>

Dieter Maurer dieter@handshake.de
Fri, 12 Jan 2001 23:39:43 +0100 (CET)


angie tel writes:
 > ...
 > <dtml-if ...>
 >   <dtml-in sql1>
 > </dtml-if>
As you recognized DTML tags must be *properly* nested...

You can do:

  <dtml-if ...>
    <dtml-call "REQUEST.set(sql,sql1)">
  </dtml-if>
  ....
  <dtml-in sql>
    ....
  </dtml-in>

This way, you get a properly nested DTML structure.


Dieter