How do I get dtml-in to only "iterate" once ?
What I want to do is: I only want the first result of my query. But I can't remember what option it is I must set. Gitte
<dtml-in my_stuff size=1> Gitte Wange wrote:
What I want to do is: I only want the first result of my query.
But I can't remember what option it is I must set.
Gitte
_______________________________________________ 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 )
On Monday 11 June 2001 11:47, Chris Withers wrote:
<dtml-in my_stuff size=1>
Don't know if it's relevant but it's a ZSQL method I am "iterating" through. Gitte
Gitte Wange wrote:
What I want to do is: I only want the first result of my query.
But I can't remember what option it is I must set.
Gitte
what about : <dtml-if sequence-start> </dtml-if> ? Tom. ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Chris Withers" <chrisw@nipltd.com>; "Gitte Wange" <gitte@mmmanager.org> Cc: <zope@zope.org> Sent: Monday, June 11, 2001 12:58 PM Subject: Re: [Zope] How do I get dtml-in to only "iterate" once ?
On Monday 11 June 2001 11:47, Chris Withers wrote:
<dtml-in my_stuff size=1>
Don't know if it's relevant but it's a ZSQL method I am "iterating" through.
Gitte
Gitte Wange wrote:
What I want to do is: I only want the first result of my query.
But I can't remember what option it is I must set.
Gitte
_______________________________________________ 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 )
or <dtml-in mystuff size=1 orphan=0> ? Paz -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Gitte Wange Sent: Monday, June 11, 2001 12:58 PM To: Chris Withers; Gitte Wange Cc: zope@zope.org Subject: Re: [Zope] How do I get dtml-in to only "iterate" once ? On Monday 11 June 2001 11:47, Chris Withers wrote:
<dtml-in my_stuff size=1>
Don't know if it's relevant but it's a ZSQL method I am "iterating" through. Gitte
Gitte Wange wrote:
What I want to do is: I only want the first result of my query.
But I can't remember what option it is I must set.
Gitte
_______________________________________________ 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 )
size=1 orphan=1 Maybe there is another/better way? Arno On Mon, 11 Jun 2001, Gitte Wange wrote:
What I want to do is: I only want the first result of my query.
But I can't remember what option it is I must set.
Gitte
_______________________________________________ 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 )
participants (5)
-
Arno Gross -
Chris Withers -
Gitte Wange -
Paz -
Tom Deprez