def _process(self): if self._target.isClosed(): p = conferences.WPConferenceModificationClosed(self, self._target) else: if (self._target.getId() == "default"): p = admins.WPPosterTemplateDesign(self, self._target, self.__templateId, self.__new) else: if self.__new == True and self.__baseTemplate != 'blank': dconf = HelperMaKaCInfo.getMaKaCInfoInstance( ).getDefaultConference() templMan = self._target.getPosterTemplateManager() newId = self.__templateId dconf.getPosterTemplateManager().getTemplateById( self.__baseTemplate).clone(templMan, newId) url = urlHandlers.UHConfModifPosterPrinting().getURL( self._target) self._redirect(url) return else: p = conferences.WPConfModifPosterDesign( self, self._target, self.__templateId, self.__new, self.__baseTemplate) return p.display()
def _process(self): p = adminPages.WPPosterTemplateDesign(self, self._target, self.__templateId, self.__new) return p.display()