Skip to main content

A reference browser widget (Maintainer Timon Tschanz)

Project description

ftw.referencewidget

This Widget provides a Referencebrowser and a searchfield, which allows users to select references.

The basequery is all types which are not in the types_not_searched property all modification to the allowed types are relative to this query.

Traversal or Selectability can be changed for all widgets with the IReferenceSettings registry interface or per widget with the widget parameters.

The widget takes the following parameters:
  • allow_traversal: These Types are traversable

  • block_traversal: These Types are not traversable

  • selectable: These Types are selectable

  • nonselectable: These Types are not selectable

  • start: The path first opened. Can either be a callable or a path. Additionaly the strings “parent”, “navroot”, “ploneroot” can be used.

  • allow_nonsearched_types: If this is set to true all the types will be traversable and selectable.

  • override: drops all global config and the base query if a list is passed to the widget. All types need to be added to be selectable.

Screenshots

The general Listing: ![Listing](https://github.com/4teamwork/ftw.referencewidget/raw/master/docs/static/list.png) The Search Listing: ![Search Listing](https://github.com/4teamwork/ftw.referencewidget/raw/master/docs/static/search.png) The Selected Items ![Selected](https://github.com/4teamwork/ftw.referencewidget/raw/master/docs/static/selected.png)

Changelog

1.1.0 (2016-09-27)

  • Ignore empty value for multiple value field. [mathias.leimgruber]

  • Support chameleon by not rendering handlebar templates. [jone]

1.0.4 (2016-09-19)

  • Make it possible to remove an given internal reference (radio button). [mathias.leimgruber]

  • Ignore empty value for single value field. [mathias.leimgruber]

  • Fix search by pressing the “enter” button. [mathias.leimgruber]

  • Always unbind the click event before binding a new one on the ref button. [mathias.leimgruber]

1.0.3 (2016-09-14)

  • Same as 1.0.2 but uploaded to PyPI. [mbaechtold]

1.0.2 (2016-09-14)

  • Reload Items when overlay is reloaded. [tschanzt]

  • Respect Type constraints on search. [tschanzt]

1.0.1 (2016-09-09)

  • Ignore empty strings in converter. [tschanzt]

  • Improve overlay behavior (close on click outside the overlay + close on ESC). [mathias.leimgruber]

  • Get Widget name on overlay creation. [tschanzt]

1.0.0 (2016-09-07)

  • Initial release [tschanzt]

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

ftw.referencewidget-1.1.0.tar.gz (598.6 kB view details)

Uploaded Source

File details

Details for the file ftw.referencewidget-1.1.0.tar.gz.

File metadata

File hashes

Hashes for ftw.referencewidget-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5556471a6dff54ae3d9e3e78a6be8a5fc3a702d79b5b6e047d4762afb13e619a
MD5 c765861e98e0e10e2853f8b16282f409
BLAKE2b-256 b08fdf096bb50d777357657b2fdcee6387a2aa20b8b45f7a03cb64db646441d5

See more details on using hashes here.

Supported by

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