예제 #1
0
    def button_action_cancel(self, name, params):
        if name:
            params.button.btype = "object"
            params.id = False
            res = self.button_action(params)
            if res:
                return res

        import actions
        return actions.close_popup(reload=False)
예제 #2
0
    def button_action_cancel(self, name, params):
        if name:
            params.button.btype = "object"
            params.id = False
            res = self.button_action(params)
            if res:
                return res

        import actions
        return actions.close_popup(reload=False)
예제 #3
0
    def end(self, **kw):

        if 'wizard_parent_params' in cherrypy.session:
            frm = cherrypy.session['wizard_parent_form']
            params = cherrypy.session['wizard_parent_params']
            try:
                return pooler.get_pool().get_controller(frm).create(params)
            except:
                pass

        import actions
        return actions.close_popup()
예제 #4
0
    def end(self, **kw):

        if 'wizard_parent_params' in cherrypy.session:
            frm = cherrypy.session['wizard_parent_form']
            params = cherrypy.session['wizard_parent_params']
            try:
                return pooler.get_pool().get_controller(frm).create(params)
            except:
                pass

        import actions
        return actions.close_popup()