[Zope] How to emulate browser back button
Sean McGrath
sean@digitome.com
Tue, 04 Apr 2000 06:38:03 +0100
["R. David Murray"]
>You can do it without javascript, but you have to *do* it. HTTP
>is stateless, so the only way the REQUEST stuff can get forwarded
>is if you put it into the intermediate web page. That is, you have
>to make that continue button a form button, and put the current
>values of the variables in hidden data fields. Then your form has
>to have logic to recognize that it is being (re)called with values
>already set, and insert those values into the value fields of your
>form elements.
I had a similar issue from within an external method. I strongly
suspect that the way I solved it is not the way to do it:-)
I used
REQUEST.redirect('next_page?back=this_page')
return REQUEST
in next_page there is something like:
<a href="<dtml-var back>">Back</a>
What is the proper way to do this with Zope?
Sean,