[Zope] Cataloging and uncataloging...

Casey Duncan cduncan@kaivo.com
Thu, 19 Apr 2001 11:14:26 -0600


After Dark wrote:
> 
> Ok, I created and use a little bit CatalogAware. But now how
> can I do this with it?
> 
> <dtml-call expr="manage_addFile(id='',file=arquivo,
> title=titulo)">
> 
> Can I create a ZClass simulating a file? I want to when I
> add a file, to be cataloged. And wich command do I use to
> add a new object of my Zclass?
> 

Yes, just subclass OFS.File

Search Zope.org for "Add ZClass". There is a how-to

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>