Cancel Button?
Is there a way to bypass the phases "Apply Request Values", "Process Validations" etc if the user presses a "Cancel" button?
For example, if a user enters invalid data and then presses "Cancel", the validators should not request a redisplay of the current page. This should happen only for "OK" Buttons.
Andreas
[330 byte] By [
avixa] at [2007-9-27 23:56:00]

You have to use a request event. In the request event return true to indicate that as soon as lifecycle is finished processing should proceed to render phase and skip validate, model update, and invoke app events.
To skip validation etc., set the "immediate" attribute to "true" on the <h:command_button> action, and implement the logic in an action method bound by the "action" attribute.