Scott Shepherd writes:
 > Is there a way to get the current object's class name?
 > 
 > <dtml-var "this.__class__.__name__">
 > 
 > doesn't work.
You will not be able to access any attribute/method that starts with
'_'.

If the "meta type" is sufficient for you,
you may use:

        <dtml-var "this.meta_type">

Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to