[Zope] Dealing with Dictionaries

Evan Simpson evan@4-am.com
Wed, 1 Mar 2000 21:27:31 -0600


----- Original Message -----
From: James W. Howe <jwh@allencreek.com>
> > > <dtml-return "_['dictionaryVariableName'].keys()">

> I get an "AttributeError" on "keys".

Hmm.  Somehow you aren't getting a dictionary, then.  It's hard to tell from
just what you've posted where it's going astray.  Are you dtml-return-ing a
literal dict as in your initial posting?  How is dictionaryVariableName set?

Cheers,

Evan @ 4-am & digicool