24 Mar
2004
24 Mar
'04
1:23 p.m.
Marc Lindahl wrote:
"logoName" is an "ImplicitAcquirerWrapper" wrapping your Python Script. Thus, you should call it to get "logo.jpg".
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 :(
<tal:x define="logoName here/logoName"> ...works for me ;-) Chris PS: If you insist on torturing yourself, you can use dtml-let in the same way... -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk