This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.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)

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 History

Release History

This version
History Node

0.13

History Node

0.12

History Node

0.11

History Node

0.10

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4dev

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
z3c.formwidget.query-0.13.tar.gz (9.8 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting