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 href="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var

I could include the looping code in 'index_html' (like [1] does),
but that isn't pretty -- and besides, I'd like to be able to choose
between 'docsByTitle', 'docsByOrigin', 'docsBySeries', etc. Is the 
best way to do this to carry the relevant variable ('sequence-query',
'next-sequence-start-number' back and forth between 'index_html' 
and 'docsByTitle' in the REQUEST? How would you tackle this?

Jean Jordaan       --    technical writer    --
Mosaic Software    --    Zope 2.1.6 on WinNT and W2K

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to