3 Jan
2001
3 Jan
'01
9:54 a.m.
Chris McDonough wrote:
<dtml-with sessionmanager> <dtml-with getSessionData> <dtml-var "get('a')"> </dtml-with> </dtml-with>
I would have thought this stuff would be better in a python script: sessionmanager.getSessionData.get('a') ...since it is definitely 'logic' Would it be posible to make that even nicer and have whatever getSessionData is implement __getattr__ so you could do: sessionmanager.SessionData.a ...or something similar? just my 2p, Chris