[ZPT] using z search interface

Sumiya Sakoda sakoda@toyoake.or.jp
Thu, 29 Aug 2002 10:03:43 +0900


hello,

i try to zpt recently.

z search interface generate search form and query result page
automatically, it is so helpful.

but zpt seams not to support 'seaquence-query' variable.
so, this zpt code is not including QUERY_STRINGS except for 'start'

<a tal:condition="previous"
   tal:attributes="href string:${request/URL0}?start:int=${previous/first}">

in dtml, it works well. because dtml has 'sequence-query'

<a href="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var previous-sequence-start-number>">

and now, i found a hint of that

http://www.zopelabs.com/cookbook/1015785843

but it looks complicated for me.
does everyone do same kind of script or more simple way?

--

                                  Sumiya Sakoda <sakoda@toyoake.or.jp>