[Zope] accessing objects through variables

Andy Pahne ap@net22.net
Fri, 12 May 2000 15:54:05 +0200


yes, that is possible:

let's say you have a variable named 
   obj_to_show
which holds the name of the object to show

then you simply type

 <dtml-var _[object_to_show]>

note the slight difference between the above and

  <dtml-var _['object_to_show']>

the last one would render the variable oblject_to_show.



Andy Pahne, ap@net22.net

net22 GmbH
Bad Meinberger Strasse 1
32760 Detmold
0 52 31 - 580 640

http://www.net22.net