Michiel, I wanted to add additional flag properties to the section and page types for controlling display in several different navigational systems in our site. This appears to be very messy at best, and I've decided against adding any properties to these types and rearchitecting the site to use custom section and page objects is not an option either. The approach I plan on taking is to create several objects, one per display property desired, and use those for managing site navigation display. These objects will most likely store a simple list of element IDs for the display property being controlled that can be loaded in an application/server scope memory structure on site instantiation. As I build site navigation displays I can check against the appropriate memory structure for corresponding display attributes. Would it be faster to search against a list of IDs or a structure of IDs each stored as a key. Seems that a hash/structure approach would be faster. Any thoughts?
> Date: Sat, 6 Oct 2001 16:34:01 +0200 (CEST) > From: Michiel Boland <[EMAIL PROTECTED]> > Subject: Re: Adding properties to system types > Message-ID: <[EMAIL PROTECTED]> > > > Hi, > > > > I need to add a few flags (most likely an integer property with values = > > 0|1) to several of the system types. How can I go about adding a property to > > a system type? > > Why would you want to do that? Can't you just create a new type > that has the properties of the system type along with your new props? ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
