Commit 77253c19 authored by Romain Courteaud's avatar Romain Courteaud

Thanks to Brice Leroy, make ProxyField compatible with render_htmlgrid.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6048 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e208a564
......@@ -149,6 +149,18 @@ class ProxyField(ZMIField):
proxy_field = None
return proxy_field
def render_htmlgrid(self, value=None, REQUEST=None, key=None):
"""
render_htmlgrid returns a list of tuple (title, html render)
We will use title generated by the widget.
"""
result = ()
proxy_field = self.getTemplateField()
if proxy_field is not None :
result = proxy_field.render_htmlgrid(key=key, value=value,
REQUEST=REQUEST)
return result
def updateContext(self, REQUEST):
"""
Update the REQUEST
......
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