[Zope-DB] Specifying query arguments in DTML

Charlie Clark charlie@begeistert.org
Tue, 25 Feb 2003 09:50:21 +0100


On 2003-02-25 at 09:40:48 [+0100], Steven Rogers wrote:
> Hi all,
> 
> I'm stumped on something in the DB adapter and hope someone can help. I 
> can see how to set up a Z SQL Method and pass the SQL arguments through 
> the URL, but is it possible to have a Z SQL Method that gets its argument 
> values from the DTML near the <dtml-in sqlMethod> without putting it in 
> the URL or having the user submit it through a form? I've tried using 
> dtml-let, and scrounged all through the Zope bible and can't figure it 
> out. I could create a new ZSQL method with the argument hard-coded in it, 
> but that seems to stink.

I think this should be possible but I don't quite understand what you want. 
Could you be a bit more explicit?

Charlie