Anthony Baxter wrote:
Sam Gendler wrote I have a ZClass based product, called a CPI, and I would like a CPI to be able to contain other CPI's. Is this possible, or do I have to resort to coding myt product in python?
Yep, it's possible. Make it subclass ObjectManager, then in the SubObjects tab, select CPI.
Anthony
Actually, let me add one more level of complexity. I have a CPI product, which doesn't need to be recursive. It contains a CPISection ZClass, which contains CPIPage ZClass. However, I want CPISection to be able to contain CPISections, CPIPages, and lots of other standard zope objects. I understand the whole Object manager thing, but in my first subclass (CPISection), when I go to the subobjects tab, it only shows me things in the Products menu (CPI, but no CPISection). I assume this is an oversight by the development crew that I am welcome to fix, right? If not, please let me know how I might get it to work. I am in the process of trying it in 2.1 right now. --sam