26 Jun
2003
26 Jun
'03
5:42 p.m.
On Thursday 26 June 2003 08:11 am, Bill Hewitt wrote:
I am trying to retrieve a value from a dictionary using dtml, but when I try using
<dtml-var "DICTIONARY['key'}">
I get an exception Error....
Well, you would, wouldn't you?
How do I do this simply and correctly.....
How about: <dtml-var "DICTIONARY['key']"> (I bet you're sooo embarrassed now, aren't you -- don't sweat it, happens to everybody*) although <dtml-var expr="DICTIONARY['key']"> is probably better style. HTH, Terry *But I'm still going to rib you about it. ;-D -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com