12 Mar
2003
12 Mar
'03
6:52 p.m.
Einar Næss Jensen wrote:
In one of my zclasses I have a property "link_file" which holds a filename/objectID.
if this property says "alit.html", then In my dtml-method I want do do something like:
<dtml-var link_file>
and then it should render the content of "alit.html", but of course it only renders the text "alit.html".
what is the right syntax to reference the object which the property references to and not the text?
<dtml-var "_.getitem(link_file,1)"> should give you the rendered object. -mj