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 ): ...@@ -459,7 +459,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
""" """
if uids is None: uids = [] if uids is None: uids = []
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
params = selection.getParams() params = selection.getParams()
...@@ -478,7 +478,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -478,7 +478,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
""" """
if uids is None: uids = [] if uids is None: uids = []
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
params = selection.getParams() params = selection.getParams()
...@@ -497,7 +497,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -497,7 +497,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
""" """
if uids is None: uids = [] if uids is None: uids = []
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST=REQUEST) selection = self.getSelectionFor(selection_name, REQUEST=REQUEST)
if selection is not None: if selection is not None:
...@@ -517,7 +517,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -517,7 +517,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection Sets the root domain for the current selection
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
root_url = request.form.get('domain_root_url','portal_categories') root_url = request.form.get('domain_root_url','portal_categories')
...@@ -531,7 +531,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -531,7 +531,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection Sets the root domain for the current selection
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
domain_url = request.form.get('domain_url',None) domain_url = request.form.get('domain_url',None)
...@@ -549,7 +549,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -549,7 +549,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection Sets the root domain for the current selection
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
domain_url = request.form.get('domain_url',None) domain_url = request.form.get('domain_url',None)
...@@ -567,7 +567,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -567,7 +567,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection Sets the root domain for the current selection
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
root_url = request.form.get('report_root_url','portal_categories') root_url = request.form.get('report_root_url','portal_categories')
...@@ -584,7 +584,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -584,7 +584,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
report_list is a list of relative_url of category, domain, etc. report_list is a list of relative_url of category, domain, etc.
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
report_url = request.form.get('report_url',None) report_url = request.form.get('report_url',None)
...@@ -601,7 +601,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -601,7 +601,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
Sets the root domain for the current selection Sets the root domain for the current selection
""" """
request = REQUEST request = REQUEST
form_id = request.form_id #form_id = request.form_id
selection_name = request.list_selection_name selection_name = request.list_selection_name
selection = self.getSelectionFor(selection_name, REQUEST) selection = self.getSelectionFor(selection_name, REQUEST)
report_url = request.form.get('report_url',None) 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