diff 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
line wrap: on
line diff
--- a/MoinMoin/parser/text_csv.py	Sat Sep 13 10:34:43 2008 +0200
+++ b/MoinMoin/parser/text_csv.py	Sat Sep 13 15:12:14 2008 +0200
@@ -185,4 +185,4 @@
     def format(self, formatter):
         browser = DataBrowserWidget(self.request, show_header=self._show_header)
         browser.setData(self.data)
-        self.request.write(browser.format())
+        self.request.write(browser.render(method="GET"))