[Zope] - YASQ (yet another stupid question)

Chad Fowler cfowler@fedex.com
Wed, 23 Dec 1998 14:55:39 -0600


(Yet Another Stupid Question)...

I've got 1.9 running fine and have been able to get some dynamic
happening using mysql.  The one major snag I've run into is this:

Say you have an external method, or a SQL Method that accepts a
parameter.
You want that parameter to be dynamic (possibly based on a field from a
DB).
How can you pass a dynamic parameter to a method from within DTML?

i.e.:
<!--#in expr="getSpam(cost=<!--#var spamcost-->)"-->

I know I'm not wording this in the best way possible.  Please excuse
me.  I've been
fiddling with it for about an hour now, and I can't make any headway.

Thanks in advance,
Chad Fowler