25 Jan
2002
25 Jan
'02
3:29 a.m.
At 08:57 24/1/2002 +0100, Lennart Regebro wrote:
<dtml-let sql="restrictedTraverse(PathToSqlMethod)"> <dtml-in "sql()">
As you see the difference between this and your original code is that you had: <dtml-in sql> What you do here is that you give dtml the name of something (sql). If the named object is callable, dtml will first call it, then use it. When you put things in an expression, it will evaluate that expression, but it will not call the result of the evaluated expression.
Ah, thank you, I see now. This "auto-call" feature of DTML is very handy, I guess, but a bit confusing at first... Gabriel Genellina Softlab SRL