[Zope] sequence-item as a method argument
Thomas Weiner
weiner@tu-harburg.de
Wed, 14 Jun 2000 23:13:37 +0200
Fabio Akita schrieb:
>
[ sequence-item in a python expression ]
>
> Error Type: NameError
> Error Value: sequence
>
> Anyone knows what is going on? I think this must be a simple thing.
Everything in quotes is taken as a python expression, therefore Zope
wants to evaluate "sequence - item"; this won't work because sequence
and item aren't defined.
Try:
<dtml-in "sqlSearchProduct(productID=_['sequence-item'])">
_ is the current namespace, where Zope will find the value of
sequence-item.
hth
Thomas