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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
IFieldWidget factory for RadioWidget.

        @zope.component.adapter(zope.schema.interfaces.IField, IFormLayer)
@zope.interface.implementer(z3c.form.interfaces.IFieldWidget)
def getRadioPickerWidget(field, request):
    """IFieldWidget factory for RadioWidget."""
    return z3c.form.widget.FieldWidget(field, RadioPickerWidget(request))
        


src/j/0/j01.form-1.0.0/src/j01/form/demo/demo.py   j01.form(Download)
from j01.form.widget import getRadioWidget
from j01.form.widget import getRadioInlineWidget
from j01.form.widget import getRadioPickerWidget
from j01.form.widget import getRadioInlinePickerWidget