Commit 237617be authored by Nicolas Delaby's avatar Nicolas Delaby

propagate render_prefix, needed to render OOoChart in ODT Style

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24640 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce82cbc3
......@@ -367,9 +367,11 @@ class ListBoxWidget(Widget.Widget):
Render a ListBox in read-only.
"""
if REQUEST is None: REQUEST=get_request()
return self.render(field, key, value, REQUEST, render_format=render_format)
return self.render(field, key, value, REQUEST, render_format=render_format,
render_prefix=render_prefix)
def render(self, field, key, value, REQUEST, render_format='html', render_prefix=None):
def render(self, field, key, value, REQUEST, render_format='html',
render_prefix=None):
"""
This is where most things happen. This method renders a list
of items
......
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