[rhmessaging-commits] rhmessaging commits: r3988 - mgmt/newdata/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue May 25 14:27:47 EDT 2010


Author: eallen
Date: 2010-05-25 14:27:46 -0400 (Tue, 25 May 2010)
New Revision: 3988

Modified:
   mgmt/newdata/cumin/python/cumin/objecttask.py
Log:
Display the object name in the ObjectTaskForm

Modified: mgmt/newdata/cumin/python/cumin/objecttask.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/objecttask.py	2010-05-25 16:44:22 UTC (rev 3987)
+++ mgmt/newdata/cumin/python/cumin/objecttask.py	2010-05-25 18:27:46 UTC (rev 3988)
@@ -312,6 +312,10 @@
     def render_title(self, session):
         return self.task.get_title(session)
 
+    def render_content(self, session):
+        obj = self.object.get(session)
+        return obj.name
+
 class SelectionTaskForm(TaskForm):
     def __init__(self, app, name, task):
         super(SelectionTaskForm, self).__init__(app, name, task)



More information about the rhmessaging-commits mailing list