equal
deleted
inserted
replaced
59 title = _("Utilities") |
59 title = _("Utilities") |
60 legend = _("Add ZEO connection") |
60 legend = _("Add ZEO connection") |
61 icon_css_class = 'fa fa-fw fa-database' |
61 icon_css_class = 'fa fa-fw fa-database' |
62 |
62 |
63 fields = field.Fields(IZEOConnection) |
63 fields = field.Fields(IZEOConnection) |
|
64 autocomplete = 'off' |
64 ajax_handler = 'add-zeo-connection.json' |
65 ajax_handler = 'add-zeo-connection.json' |
65 edit_permission = None |
66 edit_permission = None |
66 |
67 |
67 def create(self, data): |
68 def create(self, data): |
68 return ZEOConnectionUtility() |
69 return ZEOConnectionUtility() |
104 |
105 |
105 legend = _("Update ZEO connection properties") |
106 legend = _("Update ZEO connection properties") |
106 icon_css_class = 'fa fa-fw fa-database' |
107 icon_css_class = 'fa fa-fw fa-database' |
107 |
108 |
108 fields = field.Fields(IZEOConnection) |
109 fields = field.Fields(IZEOConnection) |
|
110 autocomplete = 'off' |
109 ajax_handler = 'properties.json' |
111 ajax_handler = 'properties.json' |
110 edit_permission = 'system.manage' |
112 edit_permission = 'system.manage' |
111 |
113 |
112 def updateWidgets(self, prefix=None): |
114 def updateWidgets(self, prefix=None): |
113 super(ZEOConnectionPropertiesEditForm, self).updateWidgets(prefix) |
115 super(ZEOConnectionPropertiesEditForm, self).updateWidgets(prefix) |