Commit b4f05347 authored by Romain Courteaud's avatar Romain Courteaud

Can now do ProxyField of ProxyField.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26ec8c7d
......@@ -101,7 +101,7 @@ class ProxyWidget(Widget.Widget):
Render proxy field
"""
result = ''
proxy_field = field.getTemplateField()
proxy_field = field.getRecursiveTemplateField()
if proxy_field is not None:
REQUEST = field.updateContext(REQUEST)
result = proxy_field.widget.render(field, key, value, REQUEST)
......@@ -112,7 +112,7 @@ class ProxyWidget(Widget.Widget):
Display proxy field
"""
result = ''
proxy_field = field.getTemplateField()
proxy_field = field.getRecursiveTemplateField()
if proxy_field is not None:
result = proxy_field.widget.render_view(field, value)
return result
......
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