[Zope] CatalogAware
MidnightFears@aol.com
MidnightFears@aol.com
Fri, 2 May 2003 11:19:24 EDT
--part1_39.37e355f1.2be3e67c_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
I have made my top-level class CatalogAware. This class consists of
> hundreds of compound data elements that are not specifically declared to
> be CatalogAware, yet they are grouped into one index recorded for the
> top-level class. I know in order to get the delete, cut, copy, and paste
> functionality to work in reindexing items I need to override these
> methods. However, this has no effect on reindexing a simple compound
> element when it is the only item cut and pasted, deleted, etc.
>
> My question is, should I override the main functions that control these
> operations from the manage_main view? I have already made modifications
> to the presentation logic of manage_main. Is overriding the button
> functionality a 'smart' thing to do? I need the delete operation to
> perform other tasks as well, i.e. when an object of a certain meta_type
> is deleted, a mirrored folder structure at the root should be
> automatically deleted as well.
>
> thanks, stacy
--part1_39.37e355f1.2be3e67c_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML><FONT FACE=3Darial,helvetica><FONT SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=
=3D"Arial" LANG=3D"0">I have made my top-level class CatalogAware. This clas=
s consists of <BR>
> hundreds of compound data elements that are not specifically declared t=
o <BR>
> be CatalogAware, yet they are grouped into one index recorded for the <=
BR>
> top-level class. I know in order to get the delete, cut, copy, and past=
e <BR>
> functionality to work in reindexing items I need to override these <BR>
> methods. However, this has no effect on reindexing a simple compound <B=
R>
> element when it is the only item cut and pasted, deleted, etc.<BR>
> <BR>
> My question is, should I override the main functions that control these=
<BR>
> operations from the manage_main view? I have already made modifications=
<BR>
> to the presentation logic of manage_main. Is overriding the button <BR>
> functionality a 'smart' thing to do? I need the delete operation to <BR=
>
> perform other tasks as well, i.e. when an object of a certain meta_type=
<BR>
> is deleted, a mirrored folder structure at the root should be <BR>
> automatically deleted as well.<BR>
> <BR>
> thanks, stacy<BR>
</FONT></HTML>
--part1_39.37e355f1.2be3e67c_boundary--