[Zope] Subclassing File
David Ornstein
davido@nuvomedia.com
Mon, 5 Jun 2000 22:37:52 -0700
So, perhaps I'm stupid. I created a new ZClass and set its base class to
File. I did think because I wanted to create a ManagedDocument that's like
a File but also keep track of a bunch of additional (dumb) metadata (like
Status, Author, etc.) I added these items to a new property sheet, but now
I don't seem to be able to create any instances of this new object. When I
do, I'm prompted for the id for the new object, but then get an error about
'title' being undefined.
So maybe I'm stupid; or maybe it's late.
Is there some reason why subclassing File should be less-straightforward
than just creating a vanilla ZClass without any base class (which works fine
for me)?
Thanks,
David
___________________________________________________________
David Ornstein, CTO, NuvoMedia, Inc.
AIM: dbo666 voice: 650-314-1200 web: http://www.nuvomedia.com/
PGP Public Key Available at: ldap://certserver.pgp.com
"An honest man is able to speak for himself, when a knave is not."
Shakespeare, King Henry VI., Part 2