Author: eallen
Date: 2008-10-13 11:53:48 -0400 (Mon, 13 Oct 2008)
New Revision: 2627
Modified:
mgmt/trunk/cumin/python/cumin/widgets.py
Log:
Added get method to DurabilityField and AutoDeleteField
Modified: mgmt/trunk/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.py 2008-10-13 14:01:59 UTC (rev 2626)
+++ mgmt/trunk/cumin/python/cumin/widgets.py 2008-10-13 15:53:48 UTC (rev 2627)
@@ -990,6 +990,9 @@
def render_title(self, session):
return "Durable?"
+ def get(self, session):
+ return self.param.get(session)
+
class Durable(RadioFieldOption):
def render_value(self, session):
return "durable"
@@ -1141,6 +1144,9 @@
def render_title(self, session):
return "Auto-Delete?"
+ def get(self, session):
+ return self.param.get(session)
+
class AutoDel(RadioFieldOption):
def render_value(self, session):
return "autodel"