PROTECTED]'
Cc: 'ethan mindlace fremen'
Subject: RE: [Zope] geting the type of an object from within dtml ???
== it works
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 s
Hello,
I have unsuccessifully been trying to figure out ou to get the type of an
object
from withing html.
for instance:
dtml-var meta_type
does not return the correct type.
Python is supposed to have a function type(object) that return the type,
but I was not able to find a way to call it.
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
I have unsuccessifully been trying to figure out ou to get the type of an
object
from withing html.
are you talking about a ZOPE object? remember if you are a DTML Method your
'meta_type' will return the container object (it doenst have its own
namespace)
you could try
dtml-with object