Example #1
0
 def _process(self):
     if not self._event_type:
         raise MaKaCError("No event type specified")
     else:
         p = category.WPConferenceCreationMainData(self, self._target)
         if self._wf != None:
             p = self._wf.getEventCreationPage(self, self._target)
         return p.display(**self._params)
Example #2
0
    def _process(self):

        if self._askForType:
            return self._getSelectTypePage()
        else:
            p = category.WPConferenceCreationMainData(self, self._target)
            if self._wf != None:
                p = self._wf.getEventCreationPage(self, self._target)
            return p.display(**self._params)