Nov 7, 2018

How to solve: Form submit does not trigger action method on JSF commandlink or commandbutton

First, make sure those commandlink or commandbutton is inside the
<h:form> and </h:form>

If still not woking, check whether you have "rendered" or "disabled" attribute for that component and your bean is request scope. You should change it from request scope to view scope. This is because if your bean is request scope, your "rendered" or "disabled" attributes are evaluated in different condition during processing the form submit from during displaying the form. JSF won't invoke the command if "rendered" or "disabled" attribute evaluates as "false".