RE: [Zope] Including a method returning batches inside a page.

2000-08-24 Thread Jean Jordaan
hi Dieter For a DTML method(!), "id" is the id of the object of which the method is used as a method. In your case, this is the folder. No, actually -- since 'index_html' is a document, it turns out to be the id of 'index_html'. In some cases, you would use "this().id". OK, I'll try and

[Zope] Including a method returning batches inside a page.

2000-08-23 Thread Jean Jordaan
Hi all In my 'index_html', I have:: dtml-var docsByTitle This is supposed to return batches of documents, similarly to http://www.zope.org/Products/ [1]. It works halfway, but the links to previous and next batches of course refer to 'docsByTitle' and not to 'index_html':: a

Re: [Zope] Including a method returning batches inside a page.

2000-08-23 Thread Phil Harris
PROTECTED] Sent: Wednesday, August 23, 2000 1:11 PM Subject: [Zope] Including a method returning batches inside a page. Hi all In my 'index_html', I have:: dtml-var docsByTitle This is supposed to return batches of documents, similarly to http://www.zope.org/Products/ [1]. It wor

RE: [Zope] Including a method returning batches inside a page.

2000-08-23 Thread Jean Jordaan
Hi Phil Is docsByTitle a DTML Document? It's a Method alright -- cutting straight off the screen:: DTML Method at /docs / docsByTitle and 'index_html' is:: DTML Document at /docs / index_html a href="dtml-var document_iddtml-var sequence-queryqs=dtml-var next-sequence-start-number"

Re: [Zope] Including a method returning batches inside a page.

2000-08-23 Thread Dieter Maurer
Jean Jordaan writes: In my 'index_html', I have:: dtml-var docsByTitle This is supposed to return batches of documents, similarly to http://www.zope.org/Products/ [1]. It works halfway, but the links to previous and next batches of course refer to 'docsByTitle' and not to