[Zope] Splitting ZSQL results across pages

2000-08-10 Thread John Morton

I'd like to split the output of a ZSQL query across different instances of
a page in the same fashion as zope.org does with ZCatalog output, but I
can't for the life of me find any documentation on how it's done. Does
anyone know the magic incarntations or where the documents are?

Thanks,
John


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Bill Anderson

John Morton wrote:
> 
> I'd like to split the output of a ZSQL query across different instances of
> a page in the same fashion as zope.org does with ZCatalog output, but I
> can't for the life of me find any documentation on how it's done. Does
> anyone know the magic incarntations or where the documents are?

http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.html

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Dieter Maurer

John Morton writes:
 > I'd like to split the output of a ZSQL query across different instances of
 > a page in the same fashion as zope.org does with ZCatalog output, but I
 > can't for the life of me find any documentation on how it's done. Does
 > anyone know the magic incarntations or where the documents are?
Look at the "in" tag's batching features.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Wilkinson Charlie E
Title: RE: [Zope] Splitting ZSQL results across pages





-Original Message-
>From: Dieter Maurer [[EMAIL PROTECTED]]
>
>John Morton writes:
> > I'd like to split the output of a ZSQL query across different instances of
> > a page in the same fashion as zope.org does with ZCatalog output, but I
> > can't for the life of me find any documentation on how it's done. Does
> > anyone know the magic incarntations or where the documents are?
>
> Look at the "in" tag's batching features.


Or for something with a gentler learning curve:


http://www.zope.org/Documentation/Guides/ZSQL


Go there and read the section on "Creating Search Interfaces."  Zope will magically create a search query form and a table-formatted batching output method on the back end, based on an SQL Query method of your own design.  So read that, do that, and then look at the methods it creates.  I found it very useful in getting up to speed on how to roll my own batching DTML methods.

-cw-


PS - (OT rant warning) I have set everywhere I know of to tell %^#$@! Outlook 2k to send PLAIN TEXT, but it's apparently WAY TO SMART to simply let me do ASCII and leave me be.  If you have a solution (especially if it involves high explosives), I'm all ears.  I don't hafta put up with this kinda crap from my *nix boxes.  (Mutter grumble...)  If I could get an Exchange(r)(tm)(c2000) client running on my Linus W/S, this thing would be history sooo fast.  What a waste of a Pentium3 box...  (I feel a little better now, thanks.)

-- 
Charlie Wilkinson
TRIS Development Systems Administrator 
IS:SD:CT:CC:TD
Phone: 202-283-3241 
MSMail:   [EMAIL PROTECTED]
SMTP:  [EMAIL PROTECTED]
Home:  [EMAIL PROTECTED] 
This message constructed from 90% post-consumer electrons.





[Zope] Re[2]: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread John Morton

On Thu, 10 Aug 2000 17:50:02 -0400 you wrote:

 > -Original Message-
 > >From: Dieter Maurer [[EMAIL PROTECTED]]
 > >
 > >John Morton writes:
 > > > I'd like to split the output of a ZSQL query across different instances
 > of
 > > > a page in the same fashion as zope.org does with ZCatalog output, but I
 > > > can't for the life of me find any documentation on how it's done. Does
 > > > anyone know the magic incarntations or where the documents are?
 > >
 > > Look at the "in" tag's batching features.
 
Which was the only place I didn't look. Doh!

 > Or for something with a gentler learning curve:
 > 
 > http://www.zope.org/Documentation/Guides/ZSQL
 > 
 > Go there and read the section on "Creating Search Interfaces."  Zope will
 > magically create a search query form and a table-formatted batching output
 > method on the back end, based on an SQL Query method of your own design.  So
 > read that, do that, and then look at the methods it creates.  I found it
 > very useful in getting up to speed on how to roll my own batching DTML
 > methods.

Yep. Worked for me; it all made sense after reading the output of a search
interface. Thanks to all who replied.

John.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )