RE: [Zope] geting the type of an object from within dtml ??? ==> it works

2000-06-26 Thread Chris McDonough
mindlace fremen' Subject: RE: [Zope] geting the type of an object from within dtml ??? ==> it works Hello, >> 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 su

RE: [Zope] geting the type of an object from within dtml ??? ==> it works

2000-06-26 Thread NABETH Thierry
Title: RE: [Zope] geting the type of an object from within dtml ??? ==> it works Hello, >> 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 superclas

Re: [Zope] geting the type of an object from within dtml ???

2000-06-25 Thread alan runyan
> 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 > Python is su

Re: [Zope] geting the type of an object from within dtml ???

2000-06-25 Thread ethan mindlace fremen
Thierry Nabeth wrote: > for instance: > > does not return the correct type. works. You can also use things like hope that helps, -- ethan mindlace fremen Zopatista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/ma

[Zope] geting the type of an object from within dtml ???

2000-06-25 Thread Thierry Nabeth
Hello, I have unsuccessifully been trying to figure out ou to get the type of an object from withing html. for instance: 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. (and I would rather p