3 Jan
2001
3 Jan
'01
9:50 p.m.
Chris McDonough writes:
.... Currently, nothing would be acquired, and the <dtml-var a> call will fail inside of a "with sessiondatamanager" even if we did have a __getattr__ interface to session data objects.... Are you sure?
As I understand it, at least a <dtml-with "sessionDataManager.getSessionData()"> would make available all session data keys as variables, if they had a "__getattr__". If they had a "__getitem__" (maybe, the available "get" is already sufficient), then <dtml-with "sessionDataManager.getSessionData()" mapping> would do the trick. Dieter