Commit 3355d4d6 authored by Jérome Perrin's avatar Jérome Perrin

Add comments on ListBox.getListMethodName. This method will probably be removed.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8db841d
......@@ -3026,7 +3026,12 @@ class ListBox(ZMIField):
"""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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment