27 Jan
2003
27 Jan
'03
9:12 p.m.
Satheesh Babu wrote at 2003-1-26 21:22 -0500:
you will need to actually get the object from the string id
<dtml-with "_.getattr(this(), document_id)"> Often, you can use the simpler: "_.getitem(document_id)".
"getitem" looks in the complete DTML namespace while "getattr" looks only in the namespace of the given object's attributes (its own and acquired ones). Dieter