2008-01-11

metaconfigure.py

  2008-01-11 19:15

...

# Обработчик директивы ZCML

from zope.app.form.browser.metaconfigure import FormDirective
from factory import editfactory

class AnnotationEditDirective(FormDirective): 
    """Create form for annotation object """
   
    def __init__(self, _context, schema, **kwargs):
        super(AnnotationEditDirective, self) \
            .__init__(_context, 
                class_=editfactory(schema),
                schema=schema,**kwargs)
   
 
Официальный сайт Zope3 Московская группа изучения реактивного движения The Dream Bot Site noooxml