[Zope] formatting problem...
Daniel Corrêa de Azevedo
DANIELCA@senado.gov.br
Thu, 15 Mar 2001 12:00:24 -0300
Hello you all.
I´m having problem in using FMT atribute of the DTML-VAR tag in dtml
methods. The situation is that when I receive some integer data from a MYSQL
database, I get it with a L sufix. That makes it necessary to format the
data with <dtml-var key fmt="%d">. Now, the problem is that, sometimes, I
need to keep on passing the data over to a few dtml methods, and when ever I
need to reformat the data, I get an erro message: " Ilegal argument type for
built-in operation.".
I need to reformat because the data in the other dtml-methods in the
sequece may be being received from the MYSQL database.
How coud I reformat the data using <dtml-var key FMT="????">, even if it
has already been formated by <dtml-var key fmt="%d">?
Thanks,
Daniel C. Azevedo