Did I find the right examples for you? yes no

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

src/i/n/infrae.plone.relations.form-1.0/infrae/plone/relations/form/example.py   infrae.plone.relations.form(Download)
 
# We can define a new widget, with a list. We use the helper as well.
from infrae.plone.relations.form.utility import buildListAddWidget
from infrae.plone.relations.schema import BasePloneRelationContextFactory
 
context_factory = BasePloneRelationContextFactory(PloneRelationContext,
                                                  IPloneRelationContext)
widget_factory_ctxt = buildListAddWidget('Folder',