Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-27 Thread Florent Guillaume
Craeg K Strong [EMAIL PROTECTED] wrote: However, I would like to distinguish between two cases: a) Direct Navigation: e.g.I am a user and I just typed in http://acme.com/myapp/contracts/TRW-001/taskorders/TO-01/invoices/DSDC-001-9301 into my browser b) Application-Controlled:

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
I believe HTTP_REFERER will list the place from whence you were redirected, but unfortunately it does not distinguish between redirect and following HTML link Of which my application has many :-( --Craeg Casey Duncan wrote: On Friday 27 September 2002 12:49 pm, Craeg K Strong wrote:

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
Hello: This is a good idea, and would solve the problem as stated. Unfortunately, it conflicts with my other (heretofore unstated) requirement that all URLs shown in the browser should be bookmarkable at all times. Once a user bookmarks foo?I_am_an_application_controlled_redirect=1 and comes

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
Thanks for the advice! Unfortunately, I don't know how to do what you suggest. I believe that a redirect always causes a GET, rather than a POST, no? Also, hidden form fields are filled in on the original request, but the redirect flushes the request. All of my fields are gone! :-( Perhaps

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-27 Thread Casey Duncan
What you are looking for sounds like stateful through-the-web functionality. I think you should use sessions to remember the form fields and/or whether the user has been to this URL before. I am suspect of an app design that makes a single URL mean different things in this way, however. I

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
Andreas Kostyrka wrote: Am Fre, 2002-09-27 um 20.58 schrieb Craeg K Strong: Thanks for the advice! Unfortunately, I don't know how to do what you suggest. I believe that a redirect always causes a GET, rather than a POST, no? Also, hidden form fields are filled in on the original request,

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-23 Thread Casey Duncan
- Original Message - From: Craeg K Strong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 23, 2002 10:59 PM Subject: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL? Hello: I have defined a