I am passing a variable named 'column' to the following script and
trying to fill a select box with the result of a zsqlmethod chosen
dynamically using this variable.
print select name=nonboolean method=post
command=context.column()
for row in command:
code=row.code
getattr(context, column)()?
-aj
On Wed, Nov 25, 2009 at 19:53, Garry Saddington
ga...@schoolteachers.co.ukwrote:
I am passing a variable named 'column' to the following script and
trying to fill a select box with the result of a zsqlmethod chosen
dynamically using this variable.
print
: [Zope] dynamically call zsqlmethod
I am passing a variable named 'column' to the following script and
trying to fill a select box with the result of a zsqlmethod chosen
dynamically using this variable.
print select name=nonboolean method=post
command=context.column()
for row in command
Jeff Peterson wrote:
IF it's a variable passed to the script wouldn't you simply access it as
'column'?
Also, is it a variable or a function? Or is the variable the name of a
function somewhere?
If it's the former just call it: column().
If it's the latter, Andreas should be correct,