[Zope] newbie: call dtml-method with parameter sequence-item

wazum-mail (wolfgang) wazum-mail (wolfgang)" <wolfgang@wazum.com
Mon, 16 Apr 2001 18:31:09 +0200


Hi!
try this (should work)

<dtml-call "Z(_['sequence-item'])">

greets
Wolfgang

>Hi!
>
>How does one call, say, a "Z SQL-method" Z(x) with Parameter x from inside
a
>loop in a DTML-document with "sequence-item" as a parameter? Of course you
>can't
><dtml-in "_.range(10)">
>  <dtml-call "Z(<dtml-var sequence-item>)">
></dtml-in>
>because you'd have to nest one dtml-tag in another. But what can you do?
>I guess the trick is simple, but I can't find it...
>
>a humble newbie
>
>Horst