Add immediate="true" to the command button. This will by pass any updates.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 4:37 PM To: MyFaces Discussion Subject: how do you folks handle a "Cancel" button? hello to everyone, I have a form that displays detail data from a backing bean. The same bean supplies properties for an update page. The update page has a Cancel button and when selected should return the user to the detail page with no changes saved. Simple enough use, but when the Cancel button is selected, the backing bean is updated and the detail page shows modified data. How do you folks handle similar situations? Thanks in advance for your help. Tom This message is intended for the recipient only and is not meant to be forwarded or distributed in any other format. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument, or security, or as an official confirmation of any transaction. Putnam does not accept purchase or redemptions of securities, instructions, or authorizations that are sent via e-mail. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of Putnam, LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are not the intended recipient of this e-mail, please delete the e-mail.

