[Zope-dev] Lobby: Renderable ZClasses

Lalo Martins lalo@webcom.com
Fri, 26 Nov 1999 15:01:54 -0200


Kevin Howe wrote a version of my ``Renderable base ZClass''
which plugs directly into the ZClass system.

Background info: a Renderable ZClass is one with control of
what happens when you <dtml-var some_object_of_this_class>.

Kevin's version is really cool, but it patches stuff outside
Products/Renderable, so I won't distribute it as the
``official'' Renderable Product. Still, I'd like to lobby for
its inclusion in Zope itself.

How it works: when you create your ZClass, you select
``Renderable'' as one of the base classes. Then (in Kevin's
version) in the Basic tab you select some method to be executed
when people <dtml-var some_object_of_this_class>.

My BannerAd Product and Kevin's ActiveImage Product both use
Renderable. AFAIK, both work with my version and Kevin's.

[]s,
                                               |alo
                                               +----
--
      I am Lalo of deB-org. You will be freed.
                 Resistance is futile.

http://www.webcom.com/lalo      mailto:lalo@webcom.com
                 pgp key in the web page

Debian GNU/Linux       ---       http://www.debian.org
Brazil of Darkness   --   http://zope.gf.com.br/BroDar