Commit db4d3dd8 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not refer to form_id when form_id is not used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1373 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02d9da29
......@@ -459,7 +459,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
"""
if uids is None: uids = []
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
params = selection.getParams()
......@@ -478,7 +478,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
"""
if uids is None: uids = []
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
params = selection.getParams()
......@@ -497,7 +497,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
"""
if uids is None: uids = []
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST=REQUEST)
if selection is not None:
......@@ -517,7 +517,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
root_url = request.form.get('domain_root_url','portal_categories')
......@@ -531,7 +531,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
domain_url = request.form.get('domain_url',None)
......@@ -549,7 +549,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
domain_url = request.form.get('domain_url',None)
......@@ -567,7 +567,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
root_url = request.form.get('report_root_url','portal_categories')
......@@ -584,7 +584,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
report_list is a list of relative_url of category, domain, etc.
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
report_url = request.form.get('report_url',None)
......@@ -601,7 +601,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection
"""
request = REQUEST
form_id = request.form_id
#form_id = request.form_id
selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST)
report_url = request.form.get('report_url',None)
......
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