[Zope-dev] dtml-in batching improved

Adrian Hungate ahungate@acucorp.com
Tue, 5 Jun 2001 09:46:19 -0700


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0EDDF.144CC7A0
Content-Type: text/plain;
	charset="iso-8859-1"

Back before the zope.org product directory became so easy to navigate I
wrote an index
that I used to use which has batch links top and bottom:

http://www.zope.org/Members/haqa/productlist/view_source

Dunno if this helps...

Adrian...

-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Wednesday, 30 May 2001 22:03
To: Ivo van der Wijk; zope-dev@zope.org; andyd@nipltd.com; Simon Coles
Subject: Re: [Zope-dev] dtml-in batching improved


> When using batching in dtml-in, why is 'previous-sequence' only defined at
> the first iteration of the current batch? And why is 'next-sequence' only
> defined at the last iteration of the current batch?

I know this problem ;-)

I had it too, and stuck something in the collector about it. I did manage to
get the layout you're after without modifying Zope though (see the search
page on www.nipltd.com)

If you want the code, maybe someone at NIP could fish it out, if you can
wait until next Thursday, I'll grab it myself :-)

cheers,

Chris



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

------_=_NextPart_001_01C0EDDF.144CC7A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Zope-dev] dtml-in batching improved</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Back before the zope.org product directory became so =
easy to navigate I wrote an index</FONT>
<BR><FONT SIZE=3D2>that I used to use which has batch links top and =
bottom:</FONT>
</P>

<P><FONT SIZE=3D2><A =
HREF=3D"http://www.zope.org/Members/haqa/productlist/view_source" =
TARGET=3D"_blank">http://www.zope.org/Members/haqa/productlist/view_sour=
ce</A></FONT>
</P>

<P><FONT SIZE=3D2>Dunno if this helps...</FONT>
</P>

<P><FONT SIZE=3D2>Adrian...</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Chris Withers [<A =
HREF=3D"mailto:chrisw@nipltd.com">mailto:chrisw@nipltd.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, 30 May 2001 22:03</FONT>
<BR><FONT SIZE=3D2>To: Ivo van der Wijk; zope-dev@zope.org; =
andyd@nipltd.com; Simon Coles</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Zope-dev] dtml-in batching =
improved</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; When using batching in dtml-in, why is =
'previous-sequence' only defined at</FONT>
<BR><FONT SIZE=3D2>&gt; the first iteration of the current batch? And =
why is 'next-sequence' only</FONT>
<BR><FONT SIZE=3D2>&gt; defined at the last iteration of the current =
batch?</FONT>
</P>

<P><FONT SIZE=3D2>I know this problem ;-)</FONT>
</P>

<P><FONT SIZE=3D2>I had it too, and stuck something in the collector =
about it. I did manage to</FONT>
<BR><FONT SIZE=3D2>get the layout you're after without modifying Zope =
though (see the search</FONT>
<BR><FONT SIZE=3D2>page on www.nipltd.com)</FONT>
</P>

<P><FONT SIZE=3D2>If you want the code, maybe someone at NIP could fish =
it out, if you can</FONT>
<BR><FONT SIZE=3D2>wait until next Thursday, I'll grab it myself =
:-)</FONT>
</P>

<P><FONT SIZE=3D2>cheers,</FONT>
</P>

<P><FONT SIZE=3D2>Chris</FONT>
</P>
<BR>
<BR>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Zope-Dev maillist&nbsp; -&nbsp; =
Zope-Dev@zope.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-dev" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-dev</A></F=
ONT>
<BR><FONT SIZE=3D2>**&nbsp; No cross posts or HTML encoding!&nbsp; =
**</FONT>
<BR><FONT SIZE=3D2>(Related lists - </FONT>
<BR><FONT SIZE=3D2>&nbsp;<A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-announce" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-announce</=
A></FONT>
<BR><FONT SIZE=3D2>&nbsp;<A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope</A> =
)</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0EDDF.144CC7A0--