[Zope] Re: The Zope Book - a problem with example.

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sun, 13 Oct 2002 10:54:27 +0200


infotechsys wrote:
> Hi,
> I'm trying to learn Zope by doing the examples
> in the Zope book. I'm having a bit of a problem
> with the example on page 41 and 42. The problem
> is in the DTML method interestRateDisplay.
> The error message said I have a bad parameter,
> but I can find is for the life of me. Here's the error-
> 
> invalid parameter: "= "calculateCompoundingInterest(principal, 
> interest_rate, periods, years)"", for tag <dtml-var expr= 
> "calculateCompoundingInterest(principal, interest_rate, periods, years)" 
>  >, on line 5 of interestRateDisplay

try:

<dtml-var expr="calculateCompoundingInterest(principal, interest_rate, 
periods, years)">

note: remove the whitespace between expr="..." [former: expr= "..."]

cheers, maik
-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org