[Zope] Calling a DTML Document using a string

Dieter Maurer dieter@handshake.de
Wed, 24 Jan 2001 22:50:36 +0100 (CET)


Anderson Ami writes:
 > How can I do a dtml document call using the call dtml tag ?
 > e.g.
 > 
 > - I have 3 DTML documents ( bot1, bot2 and bot3)
 > - I have in my request a int variable called varX
 > - I would like do it, but this one doesn't work :
 > ....  
 > <dtml-var expr="bot + varX">
 > ....
This is an FAQ: computed variable access:

     <dtml-var expr="_['bot%d' % varX]">


Dieter