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
3.0 (2025-04-14)
Replace pkg_resources namespace with PEP 420 native namespace.
2.1 (2025-04-08)
Add support for Python 3.12, 3.13.
Drop support for Python 3.7, 3.8.
2.0.0 (2023-04-27)
Breaking changes:
Drop support for Python 2.7, 3.5, 3.6.
New features:
Add support for Python 3.11.
1.0.0 (2022-09-07)
Add Chinese translation.
Add support for Python 3.5, 3.8, 3.9, 3.10.
0.17 (2018-11-08)
New features:
Register z3c.autoinclude entry point for automatic inclusion in plone. [maurits]
Add support for Python 3 [pbauer]
0.16 (2017-11-26)
Bug fixes:
Improved code quality. [maurits]
0.15 (2017-08-09)
Added translations for this package. Italian and Dutch available now. [ale-rt, fredvd, maurits]
0.14 (2017-07-18)
Drop support for Python 2.6.
0.13 (2017-01-17)
Compatible with z3c.form > 3.2.10, where radio and checkbox items property is a generator. [thomasdesvenain]
0.12 (2015-09-09)
Code moved to https://github.com/zopefoundation/z3c.formwidget.query [maurits]
0.11 (2015-04-29)
Get default value from IValue adapter. [vincentfretin]
0.10 (2014-02-19)
Remove :list from novalue radio box name to be the same behavior as z3c.form >= 2.6.0. [vincentfretin]
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)
…
Release files for z3c.formwidget.query 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| z3c_formwidget_query-3.0.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| z3c_formwidget_query-3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.3 kB
Release files / z3c_formwidget_query-3.0.tar.gz
| Download URL | z3c_formwidget_query-3.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4118820b44989f3c67297f59b49ecdda4cd9c44b2c541c4cccb16f161dad8693
|
|
BLAKE2b-256 checksum How to use checksums |
565094772dad8332621994f2675ded47c4e0d90348c8057b4bd69f416df680d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / z3c_formwidget_query-3.0-py3-none-any.whl
| Download URL | z3c_formwidget_query-3.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8af0e79234e230d5f569375860bf4ef2a81f40311d1524199da35aba6ccebc2e
|
|
BLAKE2b-256 checksum How to use checksums |
827dc134a1d50a4c72f91c93ce863c512a4d5d651f72750235b0722a8e39fa5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|