[Erp5-report] r19551 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 28 10:55:30 CET 2008
Author: jp
Date: Thu Feb 28 10:55:29 2008
New Revision: 19551
URL: http://svn.erp5.org?rev=19551&view=rev
Log:
Added a method getColumnPropertyTypeName which is useful for chart objects.
Modified:
erp5/trunk/products/ERP5Form/ListBox.py
Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=19551&r1=19550&r2=19551&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Thu Feb 28 10:55:29 2008
@@ -2776,6 +2776,16 @@
return config_column + [self.column_dict[column_id] for column_id in column_id_list]
+ security.declarePublic('getColumnPropertyTypeName')
+ def getColumnPropertyTypeName(self, column_id):
+ """
+ Returns the type of a property of a column in
+ the form of a string
+
+ NOTE: experimental method - may change in the future
+ """
+ return type(self.column_dict[column_id]).__name__
+
security.declarePublic('getColumnItemList')
def getColumnItemList(self, column_id_list = None ):
"""
More information about the Erp5-report
mailing list