[Zope] very simple question

Mike Renfro renfro@tntech.edu
Tue, 6 Nov 2001 19:30:35 -0600


On Tue, Nov 06, 2001 at 03:55:35PM -0800, U n d e r a c h i e v e r wrote:

> setting a blank property of artist on the folder does not seem to
> cause all the images in that folder to inherit a blank property.

Right. That property can be acquired, but it's not strictly
inherited. Therefore it doesn't show up in the object itself.

Two solutions, one incredibly easy but tedious, the other tougher but
easier in the long run:

1) Copy an existing object, rename the new copy, change anything you
need to on its property tabs, and change its data via its Upload tab.

2) Look into ZClasses, and make a class that inherits from Image (or
whatever existing content object you're using), and define custom
property sheets there.

2a) Make a Python product instead of a ZClass, and earn the respect of
the list purists.

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu