[Zope] Simple assignment (?)
Bruce Eckel
Bruce@EckelObjects.com
Wed, 23 May 2001 15:28:31 -0700
I'm trying to do an assignment to a variable I created with
"let" as follows:
<dtml-let pricelist="parseSeminarRegistration(price_dates)"
currentPrice="pricelist[0][1]" >
<dtml-in pricelist>
<dtml-if sequence-key>
<dtml-if "_.DateTime() <
_.DateTime(_['sequence-key'])">
<dtml-call currentPrice="_['sequence-item']">
</dtml-if>
</dtml-if>
</dtml-in>
The
<dtml-call currentPrice="_['sequence-item']">
Doesn't work, I've tried another way or two.
I'm sure assignment must be straightforward, but I'm
probably missing something obvious. Can someone enlighten?
Thanks.
Most current information can be found at:
http://www.mindview.net/Etc/notes.html
===================
Bruce Eckel http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java 2e" &
"Thinking in C++ 2e"
Please subscribe to my free newsletter -- just send any
email to:
join-eckel-oo-programming@earth.lyris.net
My schedule can be found at:
http://www.mindview.net/Calendar
===================