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

All Samples(66)  |  Call(30)  |  Derive(3)  |  Import(33)

src/s/i/simplelayout.types.common-3.0.3/simplelayout/types/common/content/page.py   simplelayout.types.common(Download)
from simplelayout_schemas import finalize_simplelayout_schema
from zope.interface import implements
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
from Products.ATContentTypes.config import HAS_LINGUA_PLONE
           write_permission = ModifyPortalContent,
           widget = ReferenceBrowserWidget(
                 allow_search = True,
                 allow_browse = True,
                 show_indexes = False,

src/p/r/Products.ECAssignmentBox-1.5.1/Products/ECAssignmentBox/content/ECAssignmentBox.py   Products.ECAssignmentBox(Download)
#from Products.ATContentTypes.content.schemata import finalizeATCTSchema
#from Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget import ReferenceBrowserWidget
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
from Products.ECAssignmentBox.content import validators 
        relationship = 'alter_ego',
        widget = ReferenceBrowserWidget(
			description = 'Select an assignment task.  A reference to an assignment task supersedes the assignment text and answer template below.',
            description_msgid = 'help_assignment_reference',
            i18n_domain = config.I18N_DOMAIN,

src/p/r/Products.ECQuiz-1.4-rc1/Products/ECQuiz/ECQReference.py   Products.ECQuiz(Download)
 
#from Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget import ReferenceBrowserWidget
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
from config import I18N_DOMAIN
                       relationship = 'alter_ego',
                       widget = ReferenceBrowserWidget(
                           description='Select a question or a question group from another quiz.',
                           description_msgid='reference_tool_tip',
                           i18n_domain=I18N_DOMAIN,

src/a/r/archetypes.referencebrowserwidget-2.4.21/src/archetypes/referencebrowserwidget/demo.py   archetypes.referencebrowserwidget(Download)
 
from archetypes.referencebrowserwidget.config import PROJECTNAME
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
schema = BaseSchema.copy() + Schema((
        relationship='Rel1',
        widget=ReferenceBrowserWidget(
            default_search_index='SearchableText',
            description='This is the first field. Pick an object. Restricted to Document, File and RefBrowserDemo.')),
 
        referencesSortable=1,
        widget=ReferenceBrowserWidget(
            hide_inaccessible=1,
            show_indexes=1,
            allow_sorting=1,
        relationship='Rel3',
        widget=ReferenceBrowserWidget(
            allow_search=1,
            allow_browse=0,
            force_close_on_insert=1,
        relationship='Rel3',
        widget=ReferenceBrowserWidget(
            show_indexes=1,
            history_length=5,
            description='And here is another field.  Startup directory is /Members.',

src/p/r/Products.EnhancedNewsItemImage-1.0.3/Products/EnhancedNewsItemImage/__init__.py   Products.EnhancedNewsItemImage(Download)
               allowed_types=('Image',),
               widget = widget.ReferenceBrowserWidget(
                            image_portal_types=('Image',),
                            allow_search = True,
                            allow_browse = True,

src/z/o/zopyx.authoring-2.4.0/zopyx/authoring/content/authoringcontentaggregator.py   zopyx.authoring(Download)
from zopyx.authoring.config import PROJECTNAME
from zopyx.authoring import authoringMessageFactory as _
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
 
#from collective.referencedatagridfield import PKG_NAME
            allowed_types_method='getAllowedTypes',
            widget = ReferenceBrowserWidget(
                allow_search=True,
                allow_browse=True,
                show_indexes=False,

src/c/o/collective.teaser-2.3/collective/teaser/content/teaser.py   collective.teaser(Download)
    # No multilingual support
    from Products.Archetypes import atapi
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
from Products.ATContentTypes.content import base, image, schemata
from Products.ATContentTypes.lib.historyaware import HistoryAwareMixin
        relationship='ref_link_internal',
        widget=ReferenceBrowserWidget(
            label=_(u"label_link_internal", default=u"Internal Link"),
            description=_(u"help_link_internal",
                          default=u"Link to internal content. For external " +\

src/p/r/Products.Doormat-1.0/Products/Doormat/content/DoormatCollection.py   Products.Doormat(Download)
from Products.Doormat import DoormatMF as _
from Products.Doormat.config import PROJECTNAME
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
from zope.interface import implements
 
        name='collection',
        widget=ReferenceBrowserWidget(
            label=_(u'Collection'),
            label_msgid='Doormat_label_collection',
            i18n_domain='Doormat',
        name='showMoreLink',
        widget=ReferenceBrowserWidget(
            label=_(u"'Show more' link"),
            description=_(u"Optionally, add a location for an extra link that "
                        "will be displayed below the items, like a link to "

src/v/s/vs.event-0.3.1/vs/event/content/event.py   vs.event(Download)
 
from Products.CMFCore.permissions import View
from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
from dateutil.rrule import YEARLY, MONTHLY, WEEKLY, DAILY
 
        relationship='isSubEvent',
        widget=ReferenceBrowserWidget(
            visible={'view': 'invisible', 'edit':'invisible'},
        ),
    ),
                                relationship='aAttachment',
                                widget=ReferenceBrowserWidget(
                                    show_review_state=1,
                                    allow_sorting=1,
                                    force_close_on_insert=1,

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLBase.py   Products.BastionLedger(Download)
    from Products.Archetypes.Referenceable import Referenceable
    from Products.Archetypes.public import ReferenceField, Schema
    from archetypes.referencebrowserwidget.widget import ReferenceBrowserWidget
    from Products.Archetypes.public import Schema
    from Products.Archetypes.config import UUID_ATTR, REFERENCE_CATALOG
                               index = 'KeywordIndex',
                               write_permission = ModifyPortalContent,
                               widget = ReferenceBrowserWidget(description = ("Urls of any related items."),
                                                               description_msgid = "help_related_items",
                                                               label = "Related Items",

  1 | 2 | 3 | 4  Next