Jean Jordaan writes:
 > In my 'index_html', I have::
 >   <dtml-var docsByTitle>
 > This is supposed to return batches of documents, similarly to
 > [1]. It works halfway, but the links
 > to previous and next batches of course refer to 'docsByTitle'
 > and not to 'index_html'::
 >   <a href="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var
 > next-sequence-start-number>">
"document_id" is the id of the executing DTML objects.

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.

In some cases, you would use "this().id".
This gives you the id of the "top level" DTML object.
In your case, this would be "index_html".


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to