provide 'context' as well, which superseds 'here'

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43408 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent de80dc2e
......@@ -645,7 +645,9 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
form=self,
key_prefix=key_prefix,
options=kwargs,
here=obj )
here=obj,
context=obj,
)
return pt.pt_render(extra_context=extra_context)
def _exec(self, bound_names, args, kw):
......
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