Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/r/Products.CMFFormController-3.0.3/Products/CMFFormController/ControllerBase.py   Products.CMFFormController(Download)
from Products.CMFCore.permissions import View, ManagePortal
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.FSMetadata import FSMetadata, CMFConfigParser
from FormAction import FormAction, FormActionContainer
from FormValidator import FormValidator, FormValidatorContainer
    def _read_action_metadata(self, id, filepath):
        self.actions = FormActionContainer()
 
        metadata = FSMetadata(filepath)
        cfg = CMFConfigParser()
    def _read_validator_metadata(self, id, filepath):
        self.validators = FormValidatorContainer()
 
        metadata = FSMetadata(filepath)
        cfg = CMFConfigParser()