[Zope] RESPONSE.redirect? Solved

Michael michael@nichestaffing.com
Thu, 17 Oct 2002 16:13:34 -0600


On Thursday 17 October 2002 03:34 pm, Dylan Reinhardt wrote:

> Fine.  So:
>
> <dtml-call "RESPONSE.redirect('reportPage_html?'+SOME_VAR)">
>
> Then all you need to do is make sure the calling page has been passed a
> value for SOME_VAR
>
> Dylan
>
Okay, on my report I did the following:

         <dtml-let start_number="_['next-sequence-start-number']-10">
          <dtml-call 
"RESPONSE.setCookie('start_number',start_number,path='/')">
         </dtml-let>

This gives me the proper start number for the page.  Then on my processor I 
did:
 
<dtml-call 
expr="RESPONSE.redirect('reportPage_html?query_start='+start_number)">

I think my solution is kind of convoluted, but it works!  Thanks for pointing 
me in the right direction.

Michael

-- 
Michael Lewis
Nichestaffing.com
Web: http://www.nichestaffing.com
Email: mlewis@nichestaffing.com
Phone: 970-472-1241
Fax: 970-472-8497

"Whatever you can conceive and believe, you can achieve"