changeset 3907:1008dd34b71c

DataBrowserWidget: make callers use correct API (render method)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 28 Jul 2008 21:37:22 +0200
parents bef1e62eebe5
children b9deb538ff6c
files MoinMoin/action/AttachFile.py MoinMoin/action/Despam.py MoinMoin/action/info.py MoinMoin/macro/ShowSmileys.py MoinMoin/stats/hitcounts.py MoinMoin/stats/languages.py MoinMoin/stats/useragents.py MoinMoin/userform/admin.py
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/action/AttachFile.py	Mon Jul 28 21:37:22 2008 +0200
@@ -1107,7 +1107,7 @@
 
         browser = DataBrowserWidget(request)
         browser.setData(data)
-        return browser.format()
+        return browser.render()
 
     return ''
 
--- a/MoinMoin/action/Despam.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/action/Despam.py	Mon Jul 28 21:37:22 2008 +0200
@@ -71,7 +71,7 @@
 
     table = DataBrowserWidget(request)
     table.setData(dataset)
-    return table.format()
+    return table.render()
 
 class tmp:
     pass
--- a/MoinMoin/action/info.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/action/info.py	Mon Jul 28 21:37:22 2008 +0200
@@ -176,7 +176,7 @@
 
         div = html.DIV(id="page-history")
         div.append(html.INPUT(type="hidden", name="action", value="diff"))
-        div.append(history_table.format())
+        div.append(history_table.render())
 
         form = html.FORM(method="GET", action="")
         form.append(div)
--- a/MoinMoin/macro/ShowSmileys.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/macro/ShowSmileys.py	Mon Jul 28 21:37:22 2008 +0200
@@ -49,7 +49,7 @@
     if data:
         browser = DataBrowserWidget(macro.request)
         browser.setData(data)
-        return browser.format()
+        return browser.render()
 
     return ''
 
--- a/MoinMoin/stats/hitcounts.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/stats/hitcounts.py	Mon Jul 28 21:37:22 2008 +0200
@@ -189,7 +189,7 @@
 
     table = DataBrowserWidget(request)
     table.setData(hits)
-    return table.format()
+    return table.render()
 
 
 def draw(pagename, request):
--- a/MoinMoin/stats/languages.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/stats/languages.py	Mon Jul 28 21:37:22 2008 +0200
@@ -87,5 +87,5 @@
 
     table = DataBrowserWidget(request)
     table.setData(languages)
-    return table.format()
+    return table.render()
 
--- a/MoinMoin/stats/useragents.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/stats/useragents.py	Mon Jul 28 21:37:22 2008 +0200
@@ -116,7 +116,7 @@
 
     table = DataBrowserWidget(request)
     table.setData(agents)
-    return table.format()
+    return table.render()
 
 def draw(pagename, request):
     import shutil, cStringIO
--- a/MoinMoin/userform/admin.py	Mon Jul 28 21:26:58 2008 +0200
+++ b/MoinMoin/userform/admin.py	Mon Jul 28 21:37:22 2008 +0200
@@ -97,7 +97,7 @@
 
         browser = DataBrowserWidget(request)
         browser.setData(data)
-        return browser.format()
+        return browser.render()
 
     # No data
     return ''