comparison MoinMoin/parser/text_csv.py @ 4093:742cabb168b9

browser._format: refactored input parameter "method". The default value is changed from "GET" to None. Now it does not add a form tag to the table on default. You have to give a value of "GET" or "POST" to add a form tag using the given method.
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 13 Sep 2008 15:12:14 +0200
parents 8fbdd3667488
children ff39884957af
comparison
equal deleted inserted replaced
4092:4afcf928ff6e 4093:742cabb168b9
183 self.data = data 183 self.data = data
184 184
185 def format(self, formatter): 185 def format(self, formatter):
186 browser = DataBrowserWidget(self.request, show_header=self._show_header) 186 browser = DataBrowserWidget(self.request, show_header=self._show_header)
187 browser.setData(self.data) 187 browser.setData(self.data)
188 self.request.write(browser.format()) 188 self.request.write(browser.render(method="GET"))