24 Mar
2004
24 Mar
'04
8:44 p.m.
Marc Lindahl wrote at 2004-3-23 21:21 -0500:
...
I expect that you somehow want to get the object with id "logo.jpg". This would look like:
"_.getitem(logoName())".
got it... that works... also looks like no way to get something that behaves like a variable or property but is really a python script returning something :(
You can use DTML magic to blur the difference between a variable and a Python Script: "_.getitem(_['logoName'])" or <dtml-let logoName=logoName> ...logoName ... </dtml-let> -- Dieter