2 Replies Latest reply on Jan 25, 2007 8:02 AM by rodrigobarreiros

    Cancel with h:commandButton

    rodrigobarreiros

      I have a form with two buttons: save and cancel. Both have to terminate the conversation. Save works fine, but cancel doesn´t terminate the conversation because immediate=true. If immediate=false (default) works, but it tries to validate the required fields. The validation should happen only on save.

      How can I resolve this problem?

      Thanks, Rodrigo