Beispiel #1
0
 def _handleSet(self):
     mapper = ShortURLMapper()
     if self._value:
         try:
             UtilsConference.validateShortURL(self._value, self._target)
         except ValueError, e:
             raise NoReportError(e.message)
Beispiel #2
0
 def _handleSet(self):
     mapper = ShortURLMapper()
     if self._value:
         try:
             UtilsConference.validateShortURL(self._value, self._target)
         except ValueError, e:
             raise NoReportError(e.message)
Beispiel #3
0
 def _process(self):
     if not self._cancel:
         params = dict(self._getRequestParams(),
                       keywords=request.form.getlist('keywords'))
         UtilsConference.setValues(self._conf, params)
     self._redirect(urlHandlers.UHConferenceModification.getURL(self._conf))
Beispiel #4
0
 def _process( self ):
     if not self._cancel:
         params = dict(self._getRequestParams(), keywords=request.form.getlist('keywords'))
         UtilsConference.setValues(self._conf, params)
     self._redirect( urlHandlers.UHConferenceModification.getURL( self._conf) )