Allow me to preface this by saying I am a complete newbie to Zope (I
prefer to think of it as beginner's mind...). What I am attempting
to do is dynamically add items to a dictionary, but Zope complains
keyword can't be an expression. Here's the reduced case of my code:
dtml-let
- Original Message -
From: Andrew Hedges [EMAIL PROTECTED]
To: zope@zope.org
Sent: Monday, February 27, 2006 11:56 AM
Subject: [Zope] Dynamic dictionary keys?
Allow me to preface this by saying I am a complete newbie to Zope (I
prefer to think of it as beginner's mind...). What I am
On 27.02.06 09:56:49, Andrew Hedges wrote:
Allow me to preface this by saying I am a complete newbie to Zope (I prefer
to
think of it as beginner's mind...). What I am attempting to do is
dynamically
add items to a dictionary, but Zope complains keyword can't be an
expression.
Andreas and Jonathan,
Thanks for the responses! As I said, I am completely new to Zope/
Python, so I appreciate your help. I'll look into how this could be
done with a Python script instead of DTML, but this version of our
product is all DTML, so that's why I'm using this solution for
- Original Message -
From: Andrew Hedges [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]
Sent: Monday, February 27, 2006 12:14 PM
Subject: Re: [Zope] Dynamic dictionary keys?
Thanks, much, Jonathan! We're moving to Zope 3 on the next version of
our software, but what I'm working
On 2/27/06, Andrew Hedges [EMAIL PROTECTED] wrote:
Allow me to preface this by saying I am a complete newbie to Zope (I
prefer to think of it as beginner's mind...).
Welcome! And let's start with killing off two ideas that most newbies
have (because the documentation gives it to the,):
1.
Hi Andrew
Allow me to preface this by saying I am a complete newbie to Zope
In that case, please skip DTML and go straight to ZPT. DTML is like
the ghost train in an amusement park, but the ghosts are real. Especially
if you're a newbie.
dtml-let eventsDict={}
dtml-let calstart=somestring