[Zope] Cataloging and uncataloging...

After Dark afterz@zipmail.com
Thu, 19 Apr 2001 14:07:32 -0400


Can I build a ZClass of the type of ZCatalogAware and
OFS.file?
Should I use it like a file then, or I have to make a
property called file, title...

Thanks.

On Thu, 19 Apr 2001 11:14:26 -0600
Casey Duncan <cduncan@kaivo.com> wrote:
>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
>`------------------>

--
--Ricardo Kohler
          Costa
________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/