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

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

src/c/o/collective.azindexpage-1.0.3/collective/azindexpage/keywords.py   collective.azindexpage(Download)
# Your add-on browserlayer
from collective.azindexpage.browser.interfaces import ILayer
from archetypes.linguakeywordwidget.widget import LinguaKeywordWidget
 
from zope import i18nmessageid
            accessor="AZIndex",
            widget=LinguaKeywordWidget(
                label=_(u"A-Z Index page"),
                description=azindex_help,
            ),

src/a/r/archetypes.linguakeywordwidget-1.1/archetypes/linguakeywordwidget/demo.py   archetypes.linguakeywordwidget(Download)
 
from archetypes.linguakeywordwidget.config import PROJECTNAME
from archetypes.linguakeywordwidget.widget import LinguaKeywordWidget
 
 
            multiValued=1,
            accessor="Subject",
        widget=LinguaKeywordWidget()),
 
     ))

src/a/r/archetypes.linguakeywordwidget-1.1/archetypes/linguakeywordwidget/__init__.py   archetypes.linguakeywordwidget(Download)
from Products.CMFCore.utils import ContentInit
from Products.Archetypes.atapi import process_types, listTypes
from Products.CMFCore.permissions import AddPortalContent
from archetypes.linguakeywordwidget.config import PROJECTNAME, WITH_SAMPLE_TYPES
from archetypes.linguakeywordwidget.widget import LinguaKeywordWidget