+ +
+

pyams_utils.zmi package

+
+

Submodules

+
+
+

pyams_utils.zmi.intids module

+
+
+class pyams_utils.zmi.intids.IntIdsLengthAdapter(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

IntIds length adapter

+
+
+count
+
+ +
+ +
+
+class pyams_utils.zmi.intids.IntIdsPropertiesDisplayForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogDisplayForm

+

intIds properties edit form

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Display indexer properties'
+
+ +
+
+title
+
+ +
+ +
+
+

pyams_utils.zmi.timezone module

+
+
+class pyams_utils.zmi.timezone.ServerTimezonePropertiesAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_utils.zmi.timezone.ServerTimezonePropertiesEditForm

+

Server timezone properties edit form, AJAX renderer

+
+ +
+
+class pyams_utils.zmi.timezone.ServerTimezonePropertiesEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Server timezone properties edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'system.manage'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Update server timezone properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+

pyams_utils.zmi.zeo module

+
+
+class pyams_utils.zmi.zeo.ZEOConnectionAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_utils.zmi.zeo.ZEOConnectionAddForm

+

ZEO connection add form, AJAX view

+
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionAJAXTestForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_utils.zmi.zeo.ZEOConnectionTestForm

+

ZEO connection test form, JSON renderer

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

ZEO connection add form

+
+
+add(object)
+
+ +
+
+ajax_handler = 'add-zeo-connection.json'
+
+ +
+
+autocomplete = 'off'
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = None
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-database'
+
+ +
+
+legend = 'Add ZEO connection'
+
+ +
+
+nextURL()
+
+ +
+
+title = 'Utilities'
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

ZEO connection add menu

+
+
+label = 'Add ZEO connection...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-database'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-zeo-connection.html'
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionNameAdapter(context, request)
+

Bases: pyams_utils.adapter.ContextRequestAdapter

+

ZEO connection name adapter

+
+
+name
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionPropertiesAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_utils.zmi.zeo.ZEOConnectionPropertiesEditForm

+

ZEO connection properties edit form, AJAX view

+
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionPropertiesEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

ZEO connection properties edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+autocomplete = 'off'
+
+ +
+
+edit_permission = 'system.manage'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-database'
+
+ +
+
+legend = 'Update ZEO connection properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionTestForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

ZEO connection test form

+
+
+ajax_handler = 'test-connection.json'
+
+ +
+
+buttons = <z3c.form.button.Buttons object>
+
+ +
+
+createAndAdd(data)
+
+ +
+
+edit_permission = 'system.manage'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+form_target
+
+ +
+
+icon_css_class = 'fa fa-fw fa-database'
+
+ +
+
+legend = 'Test ZEO database connection'
+
+ +
+
+prefix = 'test_form.'
+
+ +
+
+title
+
+ +
+
+updateActions()
+
+ +
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionTestFormSuffix(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

ZEO connection test form suffix

+
+ +
+
+class pyams_utils.zmi.zeo.ZEOConnectionTestMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

ZEO connection test menu

+
+
+label = 'Test ZEO connection...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-database'
+
+ +
+
+modal_target = True
+
+ +
+
+stop_propagation = True
+
+ +
+
+url = 'test-connection.html'
+
+ +
+ +
+
+pyams_utils.zmi.zeo.handle_new_connection_data_extraction(event)
+

Handle new connection data extraction

+
+ +
+
+

Module contents

+
+
+ + +