Hi Mitchell, --On Freitag, 17. August 2001 13:36 -0400 Mitchell L Model <mlm@acm.org> wrote:
What's the best way to define variables to be used in a parameterized DTML document? ... One thought I had was to subclass ObjectManager (either in Python or as a ZClass) and add a mechanism that looks in a dictionary stored in a "variables" instance variable, then if the desired variable wasn't there, look at the parent, etc.
Before I launch off into this escapade, please tell me if (a) there's a straightforward way to define variables like this; (b) the whole idea is confused; or (c) there's an available Product for this.
Even better. There are Propertiesheets already on every zope object :) Their purpose is exactly what you want here :) Regards Tino