def zmanage_editProperties(self, REQUEST=None):
     '''validation, etc'''
     if REQUEST:
         # ensure default datapoint didn't go away
         self.addDataPoints()
         # and eventClass
         if not REQUEST.form.get('eventClass', None):
             REQUEST.form['eventClass'] = self.__class__.eventClass
     return BasicDataSource.zmanage_editProperties(self, REQUEST)
 def zmanage_editProperties(self, REQUEST=None):
     """Validate input before updating properties."""
     if REQUEST:
         if not REQUEST.form.get('splunkSearch'):
             messaging.IMessageSender(self).sendToBrowser(
                 'Update Failed',
                 'Search cannot be blank.',
                 priority=messaging.WARNING)
             return self.callZenScreen(REQUEST)
     return BasicDataSource.zmanage_editProperties(self, REQUEST)
 def zmanage_editProperties(self, REQUEST=None):
     """Validate input before updating properties."""
     if REQUEST:
         if not REQUEST.form.get('splunkSearch'):
             messaging.IMessageSender(self).sendToBrowser(
                 'Update Failed',
                 'Search cannot be blank.',
                 priority=messaging.WARNING)
             return self.callZenScreen(REQUEST)
     return BasicDataSource.zmanage_editProperties(self, REQUEST)