I'm using a class attribute _v_label_index to store
an index of my managetab options (in a multi managementtabs 
mixin product).

To create _v_label_index i use a module level method that
I run in the class scope, like this:

def initIndex(manage_options,...): ...

class myclass(...):
  manage_options = (...)

  _v_label_index = initIndex(manage_options)

Now this work but the implementor needs to have the row
"_v_label_index = initIndex(manage_options)" in his sub class.

Is this "good" design?
Does class attributes get saved to the ZODB? I use the "_v_..."
notation just in case.

Johan Carlsson

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to