----- Original Message ----- From: "Michael Grinder" <grinder@cs.montana.edu> To: "Zope Mailing List" <zope@zope.org> Sent: Monday, April 24, 2000 7:51 PM Subject: [Zope] How does one access a ZClass property from a ZClass method?
I have a ZClass with a property sheet that contains two properties. I then created a method for the ZClass that tried to access the properties. For example: I created a property sheet that contained a float property named "high". I then created a DTML memo in the methods section of the ZClass. But when I put something like <dtml-var high> in the method, I get a KeyError saying that high doesn't exist? Obviously, I'm not understanding something somewhere. What am I doing wrong?
Is this a DTML Method or a DTML Document? If it's a DTML Method, what you're describing sounds good to me... Kevin