[Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
Dear list, I have a ZPT that lists results from a Z SQL Method. It has one argument: dropdown-department. Everything works fine, except I cannot find a way to include the passed SQL argument as a string in the ZPT document! To explain it in another way, a user selects a value from a drop-down

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Charlie Clark
Am 30.07.2007, 18:55 Uhr, schrieb Richard Flaaten [EMAIL PROTECTED]: Dear list, I have a ZPT that lists results from a Z SQL Method. It has one argument: dropdown-department. Everything works fine, except I cannot find a way to include the passed SQL argument as a string in the ZPT document!

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
quote who=Charlie Clark Am 30.07.2007, 18:55 Uhr, schrieb Richard Flaaten [EMAIL PROTECTED]: Dear list, I have a ZPT that lists results from a Z SQL Method. It has one argument: dropdown-department. Everything works fine, except I cannot find a way to include the passed SQL argument as a

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Charlie Clark
Am 30.07.2007, 19:18 Uhr, schrieb Richard Flaaten [EMAIL PROTECTED]: Richard, although this is actually a ZPT issue and nothing specific to do with RDBMS. All I want to do is use the dtml-sqlvar argument as a string in my ZPT. My ZPT is

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
I guess my questions are confusing since I am new to Zope. The dtml-sqlvar is already defined; the results from the Z SQL Method are already presented; I just want to remind the user of what they passed to the Z SQL Method. In other words, I only want to print what they selected from a drop-down

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Maciej Wisniowski
I guess my questions are confusing since I am new to Zope. The dtml-sqlvar is already defined; the results from the Z SQL Method are already presented; I just want to remind the user of what they passed to the Z SQL Method. You can't get sql query parameters from it's results. It's like