31 Aug
2002
31 Aug
'02
1:07 p.m.
* Chris Withers [14:33 31/08/02 CEST]:
Nicolas Évrard wrote:
but I have declared headers public :
class Message : security = ClassSecurityInfo() security.declarePublic('headers')
have you done:
Globals.InitializeClass(Message)
...afterwards?
Finally, I got it working by doing so (thanks) and defining a method headers to return the content of self.header But now, my template looks like this <TD tal:content="python:item.headers()['from']">From</TD> which is inestetic, but I guess I must carry on ... -- (°> Nicolas Évrard / ) Liège - Belgique ^^