Example #1
0
 def _process(self):
     an = getAnnoucementMgrInstance()
     an.setText(self.text)
     self._redirect(urlHandlers.UHAnnouncement.getURL())
Example #2
0
 def _process( self ):
     an = getAnnoucementMgrInstance()
     an.setText(self.text)
     self._redirect(urlHandlers.UHAnnouncement.getURL())
Example #3
0
 def api_announcement(self, aw):
     am = getAnnoucementMgrInstance()
     am.setText(self._message)
     return {'message': self._message}
Example #4
0
 def getVars(self):
     vars = wcomponents.WTemplated.getVars(self)
     an = getAnnoucementMgrInstance()
     vars["announcement"] = escape(an.getText()).replace("\"", """)
     return vars
Example #5
0
 def getVars(self):
     vars = wcomponents.WTemplated.getVars(self)
     an = getAnnoucementMgrInstance()
     vars["announcement"] = escape(an.getText()).replace("\"", """)
     return vars