Exemple #1
0
def NavigationTypeWidget(field, request):
    widget = z3c.form.widget.FieldWidget(field, z3cform_SelectWidget(request))
    widget.addClass('pat-castledynamicform')
    return widget
Exemple #2
0
def UseQueryWidget(field, request):
    widget = z3c.form.widget.FieldWidget(field, SingleCheckBoxWidget(request))
    widget.addClass('pat-castledynamicform')
    return widget