Hi,

I'm using MyFaces 1.1.6.  I have this commandButton on my page, within a
form

<h:commandButton id="cancelButton" value="Cancel" 
                         action="#{myController.cancelTourRequests}" />

I would like that if a user clicks this button, they are automatically
redirected to another page.  Despite the fact I have set up the
navigation-rule in faces-config.xml, when I click the button, JSF attempts
to validate the form (which makes sense) and I'll get form validation errors
instead of redirecting.  How would I create this button such that the user
is automatically redirected to another page without any type of form
validation?

Thanks, - Dave
-- 
View this message in context: 
http://old.nabble.com/Trouble-creating-a-Cancel-button-tp26633404p26633404.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to