I've created a wizard using rich:togglePanel component (similar to this on RichFaces Showcase). I want to validate the inputs when the "Next" button is clicked, but skip the validation when the "Previous" button is clicked. Is it possible? Setting "immediate" attribute on buttons has no effect. Setting immediate attribute on rich:togglePanel changes behaviour of both buttons.