Look at the wiki->tapestry4->howtos

ציטוט Alan Chandler:
I want destroy the session in my application inside a listener that is handling a form (with submit buttons). [Actually what I want to do is destroy an ASO that have have been carrying around with me and what to invalidate its existance]

What is the best way of doing this?

It seemed to me that throwing a RedirectException to "restart.svc" (I have friendly URLs set) was probably the easiest, although that means that I go back to my home page. This is OK for the current time, but might not be what I want to do in the future.

In the wiki there is a more complicated example which seems to first inject a link factory and then attempts to build the URL dynamically. I don't understand why its doing that as opposed to what I am suggesting above. In any case, it doesn't appear to address the underlying problem that I just want to destroy the ASO.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to