plone.formwidget.contenttree is a z3c.form widget for use with Plone. It uses the jQuery Autocomplete widget, and has graceful fallback for non- Javascript browsers.
There is a single-select version (AutocompleteSelectionFieldWidget) for Choice fields, and a multi-select one (AutocompleteMultiSelectionFieldWidget) for collection fields (e.g. List, Tuple) with a value_type of Choice.
When using this widget, the vocabulary/source has to provide the IQuerySource interface from z3c.formwidget.query and have a search() method.
Product's homepage
Requirements:
· Python
· Plone CMS
What's New in This Release: [ read full changelog ]
· Tweak CSS to use outline instead of border. [elro]
· Avoid theming ajax response. [elro]
· Ensure context is a content item of some sort. [elro]
· Import getSite from zope.component to avoid dependency on zope.app.component. [hvelarde]
· Import ViewPageTemplateFile from zope.browserpage to avoid dependency on zope.app.pagetemplate. [hvelarde]
· Added french translation. [phgross]
· Trigger change handler when used with datagrid [kingel]
· Use an ajax fetch for the initial call [kingel]
· Fix url in display templates, so that it uses absolute urls. [phgross]
· pep8 [joka]
· Fix term title genration to use the brain id if there is not brain title [joka]
· Added Italian translation. [gborelli]
· Added Finnish (fi) translation. [dokai]
· By default filter out nodes that are not selectable and not folderish. This can be overridden on the widget by setting show_all_nodes to True. [maurits]
· Added Dutch translation. [maurits]