newbie -- DTML arguments
This seems really basic, but can DTML Methods accept arguments? (It seems to me that they can't). And if not, is there a "best practice" way for getting an "argument" into the file? It would quite often seem to be useful to pass a variable into a DTML document to control its behavior. Converting the whole thing to Python solely for this purpose seems wasteful, wrappers in Python seem clumsy, etc. I'm wondering if there's a smart way to do it. Thanks! Terry -- ------------------------------------------------------ Terry Hancock hancock@anansispaceworks.com Anansi Spaceworks http://www.anansispaceworks.com ------------------------------------------------------
On Tue, Feb 05, 2002 at 11:32:57PM -0800, Terry Hancock wrote:
This seems really basic, but can DTML Methods accept arguments? (It seems to me that they can't). And if
They can. In the keywords form: <dtml-var "my_dtml(x=12, y='poo')"> Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Terry Hancock