[Zope] dtml-with string

Dieter Maurer dieter@handshake.de
Wed, 21 Mar 2001 22:03:10 +0100 (CET)


nuno writes:
 > i want to do a <dtml-with "PARENTS[0].location.place">
 > 
 > the problem is that instead of writing PARENTS[0].location.place
 > i want to use a variable that is a built string:
 > 
 > <dtml-call "REQUEST.set('location', 'PARENTS[0].location.' + dir)">
You already got an answer for your specific problem....

A general answer to problems like yours is "restrictedTraverse"....


Dieter