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
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)
…
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file z3c_formwidget_query-3.0.tar.gz.
File metadata
- Download URL: z3c_formwidget_query-3.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4118820b44989f3c67297f59b49ecdda4cd9c44b2c541c4cccb16f161dad8693
|
|
| MD5 |
7d210ba5e5be65feaa17953dada4e167
|
|
| BLAKE2b-256 |
565094772dad8332621994f2675ded47c4e0d90348c8057b4bd69f416df680d0
|
File details
Details for the file z3c_formwidget_query-3.0-py3-none-any.whl.
File metadata
- Download URL: z3c_formwidget_query-3.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af0e79234e230d5f569375860bf4ef2a81f40311d1524199da35aba6ccebc2e
|
|
| MD5 |
38da449f739a1b578245dda37075cf30
|
|
| BLAKE2b-256 |
827dc134a1d50a4c72f91c93ce863c512a4d5d651f72750235b0722a8e39fa5f
|