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

All Samples(29)  |  Call(4)  |  Derive(6)  |  Import(19)

src/p/r/Products.TrustedExecutables-1.0.3/Products/TrustedExecutables/TrustedFSPageTemplate.py   Products.TrustedExecutables(Download)
from zLOG import LOG, ERROR
 
from Products.CMFCore.FSPageTemplate import \
     FSPageTemplate, \
     PageTemplate, \
class TrustedFSPageTemplate(_UnCustomizable, FSPageTemplate):
 
  meta_type = 'Trusted Filesystem Page Template'
 
  pt_getEngine = staticmethod(getEngine)

src/p/r/Products.MailTemplates-2.0.0/Products/MailTemplates/FSMailTemplate.py   Products.MailTemplates(Download)
from AccessControl import getSecurityManager
from App.class_init import InitializeClass
from Products.CMFCore.FSPageTemplate import FSPageTemplate,expandpath
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
 
from BaseMailTemplate import BaseMailTemplate
from MailTemplate import MailTemplate
 
class FSMailTemplate(BaseMailTemplate,FSPageTemplate):

src/e/r/erp5-HEAD/product/MailTemplates/FSMailTemplate.py   erp5(Download)
from AccessControl import getSecurityManager
from App.class_init import default__class_init__ as InitializeClass
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.CMFCore.DirectoryView import registerFileExtension
from Products.CMFCore.DirectoryView import registerMetaType
 
from BaseMailTemplate import BaseMailTemplate
from MailTemplate import MailTemplate
 
class FSMailTemplate(BaseMailTemplate,FSPageTemplate):

src/p/r/Products.CMFFormController-3.0.3/Products/CMFFormController/FSControllerPageTemplate.py   Products.CMFFormController(Download)
from Products.CMFCore.DirectoryView import registerFileExtension, registerMetaType
from Products.CMFCore.permissions import View
from Products.CMFCore.FSPageTemplate import FSPageTemplate as BaseClass
from BaseControllerPageTemplate import BaseControllerPageTemplate
from ControllerPageTemplate import ControllerPageTemplate
from FSControllerBase import FSControllerBase
from utils import log, logException
 
class FSControllerPageTemplate(FSControllerBase, BaseClass, BaseControllerPageTemplate):

src/e/r/erp5-HEAD/product/ERP5OOo/OOoTemplate.py   erp5(Download)
from zLOG import PROBLEM
from OFS.Image import File
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.CMFCore.DirectoryView import registerFileExtension, registerMetaType
from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
class FSOOoTemplate(FSPageTemplate, OOoTemplate):
 
  meta_type = "ERP5 Filesystem OOo Template"
  icon = "www/OOo.png"
 

src/e/r/erp5-HEAD/product/ERP5Form/PDFTemplate.py   erp5(Download)
 
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.CMFCore.DirectoryView import registerFileExtension, registerMetaType
from Products.Formulator.Form import BasicForm
class FSPDFTemplate(FSPageTemplate, PDFTemplate):
 
    meta_type = "ERP5 Filesystem PDF Template"
    icon = "www/PDF.png"
 

src/p/r/Products.CacheSetup-1.2.1/Products/CacheSetup/patch_cmf.py   Products.CacheSetup(Download)
# off. Otherwise cache headers are set.
 
from Products.CMFCore.FSPageTemplate import FSPageTemplate
 
def FSPT_pt_render(self, source=0, extra_context={}):
def run():
    log('Applying CMF patches...')
    from Products.PageTemplates.PageTemplate import PageTemplate
    wrap_method(PageTemplate, 'pt_render', PT_pt_render, '__CacheSetup_PageTemplate_%s__')
    from Products.CMFCore.FSPageTemplate import FSPageTemplate

src/s/t/stxnext.grayscale-2.0.0a1/src/stxnext/grayscale/utils.py   stxnext.grayscale(Download)
from zExceptions import NotFound
 
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.Five import BrowserView
from Products.PythonScripts.PythonScript import PythonScript

src/s/t/stxnext.grayscale-2.0.0a1/src/stxnext/grayscale/events.py   stxnext.grayscale(Download)
from Products.CMFCore.FSImage import FSImage
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.FSPageTemplate import FSPageTemplate
from Products.ATContentTypes.interface.image import IATImage
from Products.ATContentTypes.content.file import ATFile

src/p/l/plone.app.caching-1.2.1/plone/app/caching/lastmodified.py   plone.app.caching(Download)
from Products.CMFCore.interfaces import ICatalogableDublinCore
from Products.CMFCore.FSObject import FSObject
from Products.CMFCore.FSPageTemplate import FSPageTemplate
 
from plone.app.caching.operations.utils import getContext

  1 | 2  Next