Back to index

plone3  3.1.7
setStatus.py
Go to the documentation of this file.
00001 ##parameters=success, message='', **kw
00002 ##
00003 from Products.CMFDefault.utils import translate
00004 
00005 if message:
00006     message = translate(message, context)
00007     context.REQUEST.other['portal_status_message'] = message
00008 if kw:
00009     for k, v in kw.items():
00010         context.REQUEST.form[k] = v
00011 
00012 return success