[Zope] DTML bug with database arrays in sqltest
Dieter Maurer
dieter at handshake.de
Sun Jul 10 17:59:49 EDT 2005
David Pratt wrote at 2005-7-8 14:08 -0300:
> ...
><dtml-and>
> <dtml-sqltest column=a_table.an_array_field[<dtml-sqlvar
>an_array_key type="int">][2] name=a_title_var op="eq" type="string"
>optional>
>..... (rest of query)
>
>The issue is how to test against these values when DTML cannot parse
>them?
You can emulate the "dtml-sqltest" with "dtml-if" and "dtml-sqlvar"
(or "dtml-var").
--
Dieter
More information about the Zope
mailing list