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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to