9 Aug
2000
9 Aug
'00
9:42 p.m.
Chris Withers writes:
Can someone explain the difference between:
<dtml-with "PARENTS[-1]"> <dtml-with squishdot> Here, your namespace contains all attributes (owned or acquired) of "squishdot" and of "PARENTS[-1]". ...do stuff here... </dtml-with> </dtml-with>
and
<dtml-with "PARENTS[-1].squishdot"> Here, your namespace contains all attributes (owned or acquired) of "squishdot" only. ...do stuff here... </dtml-with>
Usually, "squishdot" will have "PARENTS[-1]" in its acquisition context and therefore, the results will be the same. In some weird cases, however, this might not be the case, e.g. if "squishdot" would not be derived from "Acquisition.Implicit". Dieter
9372
Age (days ago)
9372
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer