How should I implement the code or what is the property of the "Command Button" so that it can only be executed by clicking on it ??
I have the following code in which I use Primer faces the "command Button" which is at the beginning of the form, and when I am filling in the other fields of the form it runs without clicking or being on top of the button, someone who knows or can you help me how to make the action of the button only run when you click on this button or any property that will help me with this case? .. Thank you very much in advance for the help.
The code of the commandButton is as follows:
<div class="centerButton"> <p:commandButton action="Ejecuccion" icon="ui-icon-person" value=" Ejecutar sentencia" process="@this" > </p:commandButton> </div>