Skip to main content

A source query widget for z3c.form.

Project description

Overview

This package implements a widget that lets users enter a query and select from the results.

The widget works with zope.schema.Choice-fields supplying a query source [1], optionally in conjunction with a collection field which then allows multiple selections.

The easiest way to use the widget is to provide one of the following as widgetFactory:

  • z3c.formwidget.query.widget.QuerySourceFieldRadioWidget

  • z3c.formwidget.query.widget.QuerySourceFieldCheckboxWidget


[1] The source needs to implement IQuerySource as defined in this package.

Changelog

0.9 (2012-08-30)

  • Avoid test dependency on zope.app.testing. [hannosch]

  • Remove unused dependency on zope.app.form. [hannosch]

0.8 - 2012-02-20

  • If one of the values to be displayed provides IRoleManager, then check for permission first. [frapell]

0.7 - 2011-11-07

  • Use an ordered list instead of a set to represent source items. [timo]

0.6 - 2011-05-04

  • Add an ignoreMissing parameter and widget subclasses to avoid errors when rendering missing values. [elro]

  • Create changelog file. [dukebody]

  • Respect the ignoreRequest parameter. [dukebody]

0.5 - 2009-04-17

0.3 - 2008-08-28

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3c.formwidget.query-0.9.zip (16.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page