[Zope] SQLSession and Performance issues

Timothy Grant tjg@avalongroup.net
Fri, 03 Mar 2000 09:09:35 -0800


Hannu Krosing wrote:
> To build a dict in DTML, try something like this:
> 
> <dtml-var standard_html_header>
> <dtml-call "REQUEST.set('mydict',{})">
> 
> <dtml-call "mydict.update({'e':7})">
> 
> <dtml-with mydict mapping>
> [<dtml-var e>]
> </dtml-with>
> 
> <dtml-var standard_html_footer>
> 
> Plain python assignment won't work, as a "=" in python is a statement,
> and statements are not supported, only function calls.
> 
> to remove a key, use <dtml-call "del(mydict['e'])">

Aha! the missing piece of the puzzle, thanks so much for your time and
the enlightenment. It is really appreciated..

-- 
Stand Fast,
    tjg.

Chief Technology Officer              tjg@exceptionalminds.com
Red Hat Certified Engineer            www.exceptionalminds.com
Avalon Technology Group, Inc.                   (503) 246-3630
>>>>>>>>>>>>Linux...Because rebooting isn't normal<<<<<<<<<<<<