[Zope] how to pass <dtml-var sequence-item> to an external method from D TML?

J. Cameron Cooper jccooper@rice.edu
Mon, 06 Aug 2001 16:49:17 -0500


> But of course, that will not work, either.
>
> <dtml-var "getPropDescription(sequence-item)"> will fail because 
> python will try to subtract item from sequence before passing the 
> argument.
>
> You can either
> <dtml-var "getPropDescription(_['sequence-item'])">
> or use dtml-let to set sequence-item to something without a dash.

Oh rats. Blasted special cases. What's the big idea not using 
underscores anyway?

        --jcc
    (proofread, fool)