14 Jun
2000
14 Jun
'00
9:13 p.m.
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