[Zope] Problem with ZSQL query results...sort of...

Schmidt, Allen J. aschmidt@nv.cc.va.us
Wed, 28 Feb 2001 14:48:00 -0500


tHANKS BUT NO LUCK EITHER. oOPS...dANG cAPS lOCK...

The DTML method was generated for my by ADDing a Z Search Method and
selecting my ZSQL method. Aside from formatting some of the fields
returned...the rest of the mechanics of it were untouched.

In fact, I exported the Whole thing out to another Zope installation and the
original configuration of the method works!!!

Ahhhhhhh!!!

Thanks Troy!


-----Original Message-----
From: Farrell, Troy [mailto:troy.farrell@wilcom.com]
Sent: Wednesday, February 28, 2001 2:40 PM
To: 'Tino Wildenhain'; Schmidt, Allen J.; 'zope@zope.org'
Subject: RE: [Zope] Problem with ZSQL query results...sort of...


Is there any particular reason you think you are exempt from the laws of the
mighty Python?

Shouldn't that be:

<a href="<dtml-var URL><dtml-var "_['sequence-query']">query_start=<dtml-var

"_['next-sequence-start-number']">">

Sorry.  I couldn't resist :)

Troy

-----Original Message-----
From: Tino Wildenhain [mailto:tino@wildenhain.de]
Sent: Wednesday, February 28, 2001 1:29 PM
To: Schmidt, Allen J.; 'zope@zope.org'
Subject: RE: [Zope] Problem with ZSQL query results...sort of...




--On Mittwoch, 28. Februar 2001 14:00 -0500 "Schmidt, Allen J." 
<aschmidt@nv.cc.va.us> wrote:

> How about like this. This is how I changed it right after I had originally
> created it but did not like the look of it. This does not work either...
>
>
>
>
>    <dtml-if sequence-end>
>       <dtml-if next-sequence>
>          <a href="<dtml-var URL><dtml-var
> sequence-query>query_start=<dtml-var next-sequence-start-number>">

try:
<a href="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var 
next-sequence-start-number>">

instead. (without any newlines inside dtml-var )
Regards
Tino

>            (Next <dtml-var next-sequence-size> results)
>          </a>
>       </dtml-if next-sequence>
>    </dtml-if sequence-end>



_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )