[Zope] ZClass propertysheet: Selection/Multi selection/Token - how?

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Sun, 17 Oct 1999 08:43:08 +1000 (EST)


On Sat, 16 Oct 1999, Ian Blenke wrote:

> Perhaps the real question is "how do I efficiently manage lists of options
> for forms without resorting to SQL?"

I use a 'lines' property to store the possible settings (myitemvalues)
and create a selection property which gets its values from myitemvalues.
This is a simple method, provided you only need to store a list of items
rather than a list of tuples (in which case you would be better off with
TinyTables).

 ___
   //     Zen (alias Stuart Bishop)     Work: zen@cs.rmit.edu.au
  // E N  Senior Systems Alchemist      Play: zen@shangri-la.dropbear.id.au
 //__     Computer Science, RMIT 	 WWW: http://www.cs.rmit.edu.au/~zen