[Zope] Calling a DTML Document using a string

ender kthangavelu@earthlink.net
Wed, 24 Jan 2001 13:12:47 -0800


On Wednesday 24 January 2001 12:00, Anderson Ami wrote:
> 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 might work

<dtml-var "_['bot'+_.str(varX)]">

cheers

kapil