Commit ac0fd8a2 authored by Jérome Perrin's avatar Jérome Perrin

put request in form TALES context


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a895bc52
......@@ -35,7 +35,7 @@ from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
from Products.ERP5Type import PropertySheet
from urllib import quote
from Globals import InitializeClass, PersistentMapping, DTMLFile
from Globals import InitializeClass, PersistentMapping, DTMLFile, get_request
from AccessControl import Unauthorized, getSecurityManager, ClassSecurityInfo
from ZODB.POSException import ConflictError
......@@ -69,6 +69,7 @@ def get_value(self, id, **kw):
container = None
kw['field'] = self
kw['form'] = form
kw['request'] = get_request()
kw['here'] = object
kw['container'] = container
try :
......
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