20 Apr
2001
20 Apr
'01
5:18 a.m.
Adrian, I did write bullshit. Ben.Peter@t-online.de (Ben Peter) wrote:
<dtml-with "_['location']"> gives you the string "Portal.Publications.Review", while
<dtml-with "Portal.Publications.Review"> gives you the actual resolved object.
This is still true, but:
<dtml-with "_.getitem('location')">
wont't give you more than the string "Portal.Publications.Review" either. So, what you want is: <dtml-with "_.getitem(_.getitem('location'))"> The inner _.getitem('location') will yield the string "Portal.Publications.Review". The outer _.getitem will then give you the actual object. Sorry for the confusion. Cheers, Ben -- Ben Peter - Feldstrasse 8 - 35091 Coelbe Ben.Peter@t-online.de ph: (+49) 6421 983520