Example #1
0
    def _checkParams(self, params):
        RHConfModifCSBookings._checkParams(self, params)
        self._activeTabName = 'Electronic Agreement'
        self.sortCriteria = params.get('sortBy', 'speaker')
        self.order = params.get('order', 'down')

        #If this is an upload
        self.spkUniqueId = params.get('spkUniqueId', None)
        self.file = params.get('file', None)
        self.filePath = ''

        if self.file and self.spkUniqueId:
            try:
                self.filePath = self.saveFileToTemp(self.file.file)
                self._tempFilesToDelete.append(self.filePath)
            except AttributeError:
                raise MaKaCError("Problem when storing file")
Example #2
0
    def _checkParams(self, params):
        RHConfModifCSBookings._checkParams(self, params)
        self._activeTabName = "Electronic Agreement"
        self.sortCriteria = params.get("sortBy", "speaker")
        self.order = params.get("order", "down")

        # If this is an upload
        self.spkUniqueId = params.get("spkUniqueId", None)
        self.file = params.get("file", None)
        self.filePath = ""

        if self.file and self.spkUniqueId:
            try:
                self.filePath = self.saveFileToTemp(self.file.file)
                self._tempFilesToDelete.append(self.filePath)
            except AttributeError:
                raise MaKaCError("Problem when storing file")
Example #3
0
    def _checkParams(self, params):
        RHConfModifCSBookings._checkParams(self, params)
        self._activeTabName = 'Electronic Agreement'
        self.sortCriteria = params.get('sortBy', 'speaker')
        self.order = params.get('order', 'down')

        #If this is an upload
        self.spkUniqueId = params.get('spkUniqueId', None)
        self.file = params.get('file', None)
        self.filePath = ''

        if self.file and self.spkUniqueId:
            try:
                self.filePath = self.saveFileToTemp(self.file.file)
                self._tempFilesToDelete.append(self.filePath)
            except AttributeError:
                raise MaKaCError("Problem when storing file")
Example #4
0
 def _checkParams(self, params):
     RHConfModifCSBookings._checkParams(self, params)
     self.spkUniqueId = params.get("spkId", "")
Example #5
0
 def _checkParams(self, params):
     RHConfModifCSBookings._checkParams(self, params)
     self._activeTabName = 'Electronic Agreement'
     self.sortCriteria = params.get('sortBy', 'speaker')
     self.order = params.get('order', 'down')
Example #6
0
 def _checkParams(self, params):
     RHConfModifCSBookings._checkParams( self, params )
     self.spkUniqueId = params.get("spkId","")