Re: [Zope] renaming python input params in DTML

2001-01-15 Thread Dieter Maurer
Lee writes: > ... > I have a Python method expecting 'text' as a parameter ... > ... > The Python method, testSQL, returns 'result'. > ... > > > > Inside 'expr="..."' you use "_['x']" instead of . As this is a Python expression that needs to be evaluated, it cannot be in a string. Yo

RE: [Zope] renaming python input params in DTML

2001-01-14 Thread Randall F. Kern
You can't use DTML tags inside an expr="" attribute; the value of expr is python code. To access the sequence-item variable from python, you need: _['sequence-item'] So, try something like this (untested): -Randy -Original Message- From: Lee [mailto:[EMAIL PROTECTED]] Sen