[rhmessaging-commits] rhmessaging commits: r2323 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Tue Aug 19 14:47:05 EDT 2008
Author: eallen
Date: 2008-08-19 14:47:05 -0400 (Tue, 19 Aug 2008)
New Revision: 2323
Modified:
mgmt/trunk/cumin/python/cumin/queue.py
Log:
Removing process_cancel methods that just return to the original page, since that is the default behavior now.
Modified: mgmt/trunk/cumin/python/cumin/queue.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/queue.py 2008-08-19 17:48:00 UTC (rev 2322)
+++ mgmt/trunk/cumin/python/cumin/queue.py 2008-08-19 18:47:05 UTC (rev 2323)
@@ -349,11 +349,6 @@
return (errors or super_error, form_binding_info)
class QueueAdd(QueueForm):
- def process_cancel(self, session):
- branch = session.branch()
- self.frame.show_view(branch)
- self.page.set_redirect_url(session, branch.marshal())
-
def process_submit(self, session):
queue_name = self.namef.get(session)
durable = self.durable.get(session)
@@ -395,11 +390,6 @@
def render_title(self, session, queue):
return "Remove Queue '%s'" % queue.name
- def process_cancel(self, session, queue):
- branch = session.branch()
- self.frame.show_view(branch)
- self.page.set_redirect_url(session, branch.marshal())
-
def process_submit(self, session, queue):
action = self.app.model.queue.remove
action.invoke(queue)
@@ -425,11 +415,6 @@
def render_title(self, session, queue):
return "Purge Messages from Queue '%s'" % queue.name
- def process_cancel(self, session, queue):
- branch = session.branch()
- self.frame.show_view(branch)
- self.page.set_redirect_url(session, branch.marshal())
-
def process_submit(self, session, queue):
request_amt = self.purge_request.get(session)
args = dict()
@@ -547,11 +532,6 @@
def post_process(self, session):
self.bindings.post_process(session)
- def process_cancel(self, session):
- branch = session.branch()
- self.frame.show_view(branch)
- self.page.set_redirect_url(session, branch.marshal())
-
def process_submit(self, session):
queue = self.frame.get_object(session)
(errors, form_binding_info) = self.bindings.get_binding_errors(session, queue.name)
@@ -590,11 +570,6 @@
def get_args(self, session):
return self.frame.get_args(session)
- def process_cancel(self, session, binding):
- branch = session.branch()
- self.page.show_queue(branch, binding.get_queue()).show_view(branch)
- self.page.set_redirect_url(session, branch.marshal())
-
def process_submit(self, session, binding):
log.info("Removing binding %s" % binding)
More information about the rhmessaging-commits
mailing list