How to customize the button so that it does not find the required value

Hi all


I use jdeveloper 11.1.1.5. I have a form inside that I have some text boxes and few components more radio button and a few selectonechoice.
I dragged two buttons below my page. Some of the components on the page have the required property = 'true '. My requirement is now one click of Button1 that it should check if the required fields are empty or not if those who are required, the fields are empty, then it should display an error. It works very well.

But I don't want to check required fields not when Button2 is clicked. Even if the required fields are empty, I want to perform the action that I wrote on this click button2.

How to get there?

Please suggest.


Thank you

JSF orders including af:commandButtons have an 'immediate' property that is intended to do what you want to do. Take a look on: http://docs.oracle.com/cd/E12839_01/web.1111/b31973/af_lifecycle.htm#CIACBJCJ

CM.

Tags: Java

Similar Questions

Maybe you are looking for