Peter Stavrinides wrote:
Hi everyone,

I have a page with multiple entry points, when a user is done editing I want to 
return them to their previous page, there are a couple of ways of doing this I 
guess:
- JavaScript (not so keen on this, I prefer a server side redirect)
- Using the HTTP referer header of the Request service (I am thinking of using 
this, not sure what the drawbacks could be?)
- ASO (hmmm not sure about the multiple window thing)
- onActivate (don't want the callback URL to appear in the address bar)
- Set a property on the page before calling onActivate (this could also work, 
of course it limits me to internal URL's over the referer approach... but thats 
probably also okay though)

I would like to know if there is any possibility that the referer might not be 
set correctly under any circumstances etc... or if there is a better way to 
call back a previous page/URL.

It's an interesting and common need, I would be interested in the solution. I see one more option in your list : a web-flow support (that seems to be the heaviest solution, and I'm thrilling to see how a T5 flavored one could look to...).

--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
http://fanf42.blogspot.com
InterLDAP - http://interldap.org FederID - http://www.federid.org/
Open Source identities management and federation


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to