12 May
2002
12 May
'02
8:01 a.m.
Dennis Allison writes:
I have a DTML method C which is called from another DTML method B, itself called from a DTML method A. I set a variable, call it X, in the namespace of A with a <dtml-let, and another variable, call it Y, is set with a <dtml-let in B. Both are visible in C (Thanks for the help there, Dieter...)
The body of C is a <dtml-in that references the SQL method and then, in the form's body, renders the returned rows in an apropriate fashion. Note that ZSQL methods do not look into the DTML namespace for arguments.
Either (exclusive) use "REQUEST.set" to pass arguments via REQUEST or use named parameters to pass all you Z SQL arguments. Surely, this is covered in the Zope book! Dieter