[Zope] How to pass arguments to ZSQL-Methods?

Stephan Richter srichter@cbu.edu
Mon, 03 Apr 2000 03:03:40 -0500


At 02:47 PM 4/3/00 +0800, you wrote:
>I'm trying to pass some arguments to a ZSQL method using the following:
>
><dtml-in "_[qry_name](_.None, _, column='Model', table='Panels',
>criteria='1=1')">

try:

<dtml-let query="_[qry_name]">
     <dtml-in "query(column='Model', table='Panels', criteria='1=1')">
          ...
     </dtml-in>
</dtml-let>

But my question is: Why do you get in a situation like that in the first 
place. It seems like if you redesign a little, you should be able to 
eliminate the situation.

Regards,
Stephan
--
Stephan Richter - (901) 573-3308 - srichter@cbu.edu
CBU - Physics & Chemistry; Framework Web - Web Design & Development
PGP Key: 735E C61E 5C64 F430 4F9C 798E DCA2 07E3 E42B 5391