[Erp5-report] r15417 - /erp5/trunk/products/ERP5Form/ListBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 2 15:15:49 CEST 2007


Author: jerome
Date: Thu Aug  2 15:15:49 2007
New Revision: 15417

URL: http://svn.erp5.org?rev=15417&view=rev
Log:
Add comments on ListBox.getListMethodName. This method will probably be removed.


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=15417&r1=15416&r2=15417&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Thu Aug  2 15:15:49 2007
@@ -3026,7 +3026,12 @@
     """Return the name of the list method. If not defined, return None.
 
        XXX - Is this method really necessary - I am not sure - JPS
-       Why not use Formulator API instead ?
+       Why not use Formulator API instead ? -> the answer is that it is a
+         MethodField, and it's method_name attribute is not available from
+         restricted environment.
+
+      XXX also this method is not compatible with ProxyFields.
+      It will go away soon.
     """
     list_method = self.get_value('list_method')
     try:




More information about the Erp5-report mailing list