[Zope] Problem with <DTML-CALL>

Dieter Maurer dieter@handshake.de
Sat, 7 Oct 2000 13:59:23 +0200 (CEST)


Tim Gildersleeve writes:
 > The line is
 > 
 > 	<dtml-call "REQUEST.set('TOTALDEVIATION',fSTART)">
 > Error Type: TypeError
 > Error Value: number coercion failed
I can assure you, that the "number coercion failed" is not
raised in the above "REQUEST.set". "set" accepts any
type.

The problem arises at a later time, probably because "fSTART"
or some other computation incredient does not have the correct
type.

You know about the magic ":type" suffixes in form variables.
There is a howto about them at Zope.org.



Dieter