Commit 1545e102 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Provide REQUEST as an attribute in a listbox renderer context for a workaround...

Provide REQUEST as an attribute in a listbox renderer context for a workaround with unicodeconflictresolver.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17072 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b015ea6
...@@ -2138,6 +2138,8 @@ class ListBoxRendererContext(Acquisition.Explicit): ...@@ -2138,6 +2138,8 @@ class ListBoxRendererContext(Acquisition.Explicit):
self.renderer = renderer self.renderer = renderer
# XXX this is a workaround for GlobalTranslationService. # XXX this is a workaround for GlobalTranslationService.
self.Localizer = renderer.getContext().Localizer self.Localizer = renderer.getContext().Localizer
# XXX this is a workaround for unicodeconflictresolver.
self.REQUEST = renderer.request
def __getattr__(self, name): def __getattr__(self, name):
return getattr(self.renderer, name) return getattr(self.renderer, name)
......
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