How do I set specifc allowable subobjects for a ZClass? I have endusers that shold only be allowed to add certain objects to a Folderish type object, but when I subclass OFS:Folder, I get every product available as an "Add" choice -not good for easily confused endusers..... Under the "subobjects" tab, I get a multiselection, but due to the sort of the list, I cannot limit only to my choices... Any advice on how to set specific subobjects and no others? PS - I looked at OFS:Folder, but I dont see where it defines it's allowable subobjects.... TIA WPH
Bill Hewitt wrote:
How do I set specifc allowable subobjects for a ZClass? I have endusers that shold only be allowed to add certain objects to a Folderish type object, but when I subclass OFS:Folder, I get every product available as an "Add" choice -not good for easily confused endusers.....
Under the "subobjects" tab, I get a multiselection, but due to the sort of the list, I cannot limit only to my choices... Any advice on how to set specific subobjects and no others?
If you hold down the 'ctrl' key, you can usually make a non-consecutive selection in a multiple-selection list. This may depend on your browser, but every browser I have used allows this. -- Jim Washington
How do I set specifc allowable subobjects for a ZClass? I have endusers that shold only be allowed to add certain objects to a Folderish type object, but when I subclass OFS:Folder, I get every product available as an "Add" choice -not good for easily confused endusers.....
Under the "subobjects" tab, I get a multiselection, but due to the sort of the list, I cannot limit only to my choices... Any advice on how to set specific subobjects and no others?
PS - I looked at OFS:Folder, but I dont see where it defines it's allowable subobjects....
This is set in a property called "meta_types" (as distinct from "meta_type") on ObjectManagers, which includes Folders and their descendents. I believe that in ZClasses you can set this as a TTW property. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (3)
-
Bill Hewitt -
J. Cameron Cooper -
Jim Washington