[ic] I write a new file named"order_lines.html",it's like order.html, and it's called as following

Ed LaFrance interchange-users@interchange.redhat.com
Mon Apr 15 13:14:01 2002


At 02:28 PM 04/15/2002 +0800, you wrote:
>I write a new file named"order_lines.html",it's like order.html, and it's 
>called as following
>http://www.test.com/cgi-bin/cpp/admin/order_lines?vender_prefix=FR&showvenders=1&showall=1
>
>in the order_lines.html,exist following codes:
>[seti page_title]
>         [L]Order[/L]: [L]Order Lines by Vender[/L] - [cgi 
> vender_prefix]-[Scratch archive_subwhere]
>         [set help_name]order.main[/set]
>[/seti]
>
>[cgi vender_prefix] is displayed correctly in the first page. but if click 
>to next page, [cgi vender_prefix] can not be displayed. How to translate 
>[cgi vender_prefix] to the next page?
>
>Regards,
>Grace

There are a couple ways to do this. You can pass an argument in the 
more-list links using the 'form' parameter of the [search-region] tag, i.e.:

[search-region
                 form="vendor_prefix=[cgi vendor_prefix]"
                 more=1
                 search="
                         (search terms here)
                 "
]
... ([search-list] and [more-list] here)
[/search-region]

Every [more] link generated above will contain the passed 
'vendor_prefix=value'.

Another way would be to just capture the vendor_prefix in a scratch 
variable any time it is passed as a cgi var:

[if cgi vendor_prefix]
         [seti vendor_prefix][cgi vendor_prefix][/seti]
[/if]

And then reference [scratch vendor_prefix] from that point forward. The one 
catch here is the likely need to reset [scratch vendor_prefix] at some point.

- Ed L.




===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================