equal
deleted
inserted
replaced
61 * if the parameter is a single (unicode) value, return a list |
61 * if the parameter is a single (unicode) value, return a list |
62 containing that value |
62 containing that value |
63 * if the parameter is already a list or tuple, just skip internal |
63 * if the parameter is already a list or tuple, just skip internal |
64 markers |
64 markers |
65 |
65 |
66 if pop is True, the parameter is removed from the form dictionnary |
66 if pop is True, the parameter is removed from the form dictionary |
67 """ |
67 """ |
68 if pop: |
68 if pop: |
69 try: |
69 try: |
70 value = form.pop(param) |
70 value = form.pop(param) |
71 except KeyError: |
71 except KeyError: |
95 self.datadir_url = vreg.config.datadir_url |
95 self.datadir_url = vreg.config.datadir_url |
96 # raw html headers that can be added from any view |
96 # raw html headers that can be added from any view |
97 self.html_headers = HTMLHead(self) |
97 self.html_headers = HTMLHead(self) |
98 # form parameters |
98 # form parameters |
99 self.setup_params(form) |
99 self.setup_params(form) |
100 # dictionnary that may be used to store request data that has to be |
100 # dictionary that may be used to store request data that has to be |
101 # shared among various components used to publish the request (views, |
101 # shared among various components used to publish the request (views, |
102 # controller, application...) |
102 # controller, application...) |
103 self.data = {} |
103 self.data = {} |
104 # search state: 'normal' or 'linksearch' (eg searching for an object |
104 # search state: 'normal' or 'linksearch' (eg searching for an object |
105 # to create a relation with another) |
105 # to create a relation with another) |
251 * if the parameter is a single (unicode) value, return a list |
251 * if the parameter is a single (unicode) value, return a list |
252 containing that value |
252 containing that value |
253 * if the parameter is already a list or tuple, just skip internal |
253 * if the parameter is already a list or tuple, just skip internal |
254 markers |
254 markers |
255 |
255 |
256 if pop is True, the parameter is removed from the form dictionnary |
256 if pop is True, the parameter is removed from the form dictionary |
257 """ |
257 """ |
258 if form is None: |
258 if form is None: |
259 form = self.form |
259 form = self.form |
260 return list_form_param(form, param, pop) |
260 return list_form_param(form, param, pop) |
261 |
261 |