[Zope-dev] ZClasses instances become detached from class

Michel Pelletier michel@digicool.com
Mon, 12 Jul 1999 12:57:33 -0400


> -----Original Message-----
> From: Jason Spisak [mailto:webmaster@mtear.com]
> Sent: Monday, July 12, 1999 12:19 PM
> To: Alexander Staubo
> Cc: zope-dev@zope.org
> Subject: Re: [Zope-dev] ZClasses instances become detached from class
> 
> 
> Alexander:
> 
> Thanks for the explanation.  I now know that I can call it, and it
> exists, but you just can't see it.  Ahh, the Zen of Zope.

Actually it's not too zenish, for the most part you can't 'see' the
methods of any object unless they are contained in an ObjectManager (at
which point they could probably be considered 'pluggable arms').  The
'Method' view looks alot like a folder container view, but really it's a
different thing alltogether.

I vote we rename ZClasses 'MrPotatoHeads'.  A MrPotatoHead can have
pluggable brains, arms, eyes, legs, hair ears and a nose.

-Michel

> 
> Jason Spisak
> webmaster@mtear.com
> > 
> > ZClass methods do not show up inside instances. This is 
> intentional. Of
> > course, you can override methods in an instance by creating 
> them inside
> > a specific instance. But everything defined within the ZClass itself
> > belongs to the ZClass.
> > 
> > And that's why, even though you created your index_html, it 
> doesn't show
> > up in the management interface.
> > 
> > (Note, though, that if you're implying that your index_html isn't
> > available even when viewing the instance normally, eg.,
> > http://www.foo.com/myinstance/index_html, then disregard this
> > information. I misinterpreted your problem.)
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://www.zope.org/mailman/listinfo/zope-dev
> 
> (For non-developer, user-level issues, use the companion list,
> zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
>