Tim Cook writes:
I'm sure someone will correct me if I'm wrong. But I believe you
want:
dtml-with "_.getitem(attribute3)"
Haven't tried it in my code yet, but thanks to your post I found the
section about _.getitem(). That'll come in handy all over the place,
so many thanks for the
Chris Withers writes:
"Geoffrey L. Wright" wrote:
Where objectName2 is actually an attribute of objectName1.
dtml-with objectName1
dtml-var attribute1
dtml-var attribute2
dtml-var attribute3
dtml-with objectName2
"\"Geoffrey L. Wright\"
Don't I have to do something in my syntax to indicate that I'm looking
for the the value of attribute3 rather than an object with the literal
id "attribute3"?
I'm sure someone will correct me if I'm wrong. But I believe you
want:
dtml-with "_.getitem(attribute3)"