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? Best regards, Einar Næss Jensen -- Einar Næss Jensen Avdelingsingeniør EDB-HF 735 90750
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
participants (2)
-
Einar Næss Jensen -
Maik Jablonski