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
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )