Hi Try immediate=true on for instance a Cancel button - That bypasses any validation and brings the user straight to you backing bean method.
Hermod -----Original Message----- From: Dave Syer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 9:11 AM To: [email protected] Subject: How can I reset or clear a session I want users to be able to just restart an application from the beginning, as if they just arrived, cancelling everything they have done (go straight to Jail, do not pass Go). I can't work out how to do it if the current form is invalid at the time that the user wants to cancel the operation. This is actually quite frustrating for users - they make a mistake and the system won't let them leave the page until it is corrected, even if all they want to do is give up and start again. What can I do to clear the session and start again? Everything I do in an action is useless because validation fails and the lifecycle never gets that far. -- View this message in context: http://www.nabble.com/How-can-I-reset-or-clear-a-session-tf2550794.html#a7109552 Sent from the MyFaces - Users mailing list archive at Nabble.com. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that DnB NOR cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

