[Zope-DB] Re: Formulator issue with Z Search Interface (Was: Form evaluation in ZSQL-Method)

Andreas Tille tillea at rki.de
Sat Sep 27 10:45:59 EDT 2003

On Fri, 26 Sep 2003, Dieter Maurer wrote:

>  >    <params>field_iditem</params>
>  >    select * from test
>  >    <dtml-sqlgroup where>
>  >     <dtml-if "_.int(field_iditem)>0">
>  >       <dtml-sqltest field_iditem column=iditem op=eq    type=nb optional>
>  >     </dtml-if>
>  >    </dtml-sqlgroup>
> The traceback you posted does not correspond to this code.
> It would (only) if you had a typo in the argument name (or
> "<params>...</params>" were really part of the template and
> not some meta devices to indicate parameters).
No, this is the view if you use Emacs ftp mode and was quite handy for posting
here.  The ZSQL method is below and the text between the <params>-brackets is
the according field in the ZMI view.

Kind regards


BTW: Editing this text in Emacs works perfectly.

More information about the Zope-DB mailing list