Hello,
<dtml-var "meta_type"> works.
Yes, it display the correct meta type. Thanks. When I had done some tests, I forgot to set the meta_type field, and the system was displaying the meta type of the superclass instead. (which had confused me). Note: I am still not very confortable to use the "meta_type" field to get the class name, and would rather have prefered to have the real class itself. (python type function). Thank you again for your help. Thierry Thierry Nabeth Research Fellow INSEAD CALT (the Centre for Advanced Learning Technologies) http://www.insead.fr/CALT/ -----Original Message----- From: ethan mindlace fremen [mailto:mindlace@digicool.com] Sent: Monday, June 26, 2000 3:43 AM To: Thierry Nabeth Cc: zope@zope.org Subject: Re: [Zope] geting the type of an object from within dtml ??? Thierry Nabeth wrote:
for instance: <dtml-var meta_type> does not return the correct type.
<dtml-var "meta_type"> works. You can also use things like <dtml-in "objectValues(['DTML Document'])"> hope that helps, -- ethan mindlace fremen Zopatista Community Liason