24 Apr
2001
24 Apr
'01
3:29 p.m.
Hi I still have some problems with this PARENTS thing. Can anyone make me a example of how I should use the "aq_parent.objectValues[]" in a dtml-in syntax. <dtml-in PARENTS reverse> ... <dtml-in _.getitem('sequence-item').aq_parent.objectValues['kiscPage']> <BR><dtml-var id> </dtml-in> ... </dtml-in> Thanks for your help Stefan Mallepell
Are you expecting PARENTS[0] to always return the parent folder of the context? If so use:
aq_parent.objectValues[...]
otherwise use:
_.getitem('sequence-item').aq_parent.objectValues[...]