[Zope-dev] Lobby: Renderable ZClasses

Lalo Martins lalo@webcom.com
Sat, 27 Nov 1999 03:23:51 -0200


On Sat, Nov 27, 1999 at 03:31:56PM +1100, Stuart 'Zen' Bishop wrote:
> On Fri, 26 Nov 1999, Lalo Martins wrote:
> 
> > 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>.
> 
> Are there any advantages to using it rather than just having index_html
> call the method you want?

index_html doesn't get called when you <dtml-var your_object>.

[]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