+ +
+

pyams_thesaurus.widget package

+
+

Module contents

+
+
+class pyams_thesaurus.widget.ThesaurusTermDataConverter(field, widget)
+

Bases: z3c.form.converter.BaseDataConverter

+

Thesaurus term data converter

+
+
+toFieldValue(value)
+
+ +
+
+toWidgetValue(value)
+
+ +
+ +
+
+pyams_thesaurus.widget.ThesaurusTermFieldWidget(field, request)
+

Thesaurus term field widget factory

+
+ +
+
+class pyams_thesaurus.widget.ThesaurusTermWidget(request)
+

Bases: z3c.form.browser.widget.HTMLInputWidget, z3c.form.widget.Widget

+

Thesaurus term widget

+
+
+extract_name
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+query_params
+
+ +
+
+thesaurus_name
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+values_map
+
+ +
+ +
+
+class pyams_thesaurus.widget.ThesaurusTermsListDataConverter(field, widget)
+

Bases: z3c.form.converter.BaseDataConverter

+

Thesaurus terms list data converter

+
+
+toFieldValue(value)
+
+ +
+
+toWidgetValue(value)
+
+ +
+ +
+
+pyams_thesaurus.widget.ThesaurusTermsListFieldWidget(field, request)
+

Thesaurus terms list field widget factory

+
+ +
+
+pyams_thesaurus.widget.ThesaurusTermsListSelectorFieldWidget(field, request)
+

Thesaurus terms list field widget with selector factory

+
+ +
+
+class pyams_thesaurus.widget.ThesaurusTermsListSelectorWidget(request)
+

Bases: pyams_thesaurus.widget.ThesaurusTermsListWidget

+

Thesaurus terms list widget with selector

+
+ +
+
+class pyams_thesaurus.widget.ThesaurusTermsListWidget(request)
+

Bases: z3c.form.browser.widget.HTMLInputWidget, z3c.form.widget.Widget

+

Thesaurus terms list widget

+
+
+extract_name
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+query_params
+
+ +
+
+thesaurus_name
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+values_map
+
+ +
+ +
+
+

Submodules

+
+

pyams_thesaurus.widget.interfaces module

+
+
+
+ + +