[Erp5-report] r14502 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 15 19:48:36 CEST 2007
Author: jp
Date: Tue May 15 19:48:36 2007
New Revision: 14502
URL: http://svn.erp5.org?rev=14502&view=rev
Log:
Fixed a problem related to the naming of listbox. It is now possible to use listboxes with any ID, and change page even if for forms with multiple listboxes.
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=14502&r1=14501&r2=14502&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Tue May 15 19:48:36 2007
@@ -34,6 +34,7 @@
from Products.Formulator.Field import ZMIField
from Products.Formulator.Errors import FormValidationError, ValidationError
from Selection import Selection, DomainSelection
+from SelectionTool import createFolderMixInPageSelectionMethod
from Products.ERP5Type.Utils import getPath
from Products.ERP5Type.Document import newTempBase
from Products.CMFCore.utils import getToolByName
@@ -1943,6 +1944,9 @@
ignore_layout = int(self.renderer.request.get('ignore_layout', 0))
html_list = []
+
+ # Generate page selection methods based on the Listbox id
+ createFolderMixInPageSelectionMethod(field_id)
# Check is there is a validation error at the level of the listbox
# as a whole. This will be required later to decide wherer to
More information about the Erp5-report
mailing list