JSF default behavior
I am building a vanilla JSF application and I am having a hard time understanding how forms work in this framework.
If I create a JavaScript form ...
document.myForm.submit();
... in this JSF form ...
<h:form id="myForm">
...
<h:commandButton value="Continue" action="#{foo.continueButton}"></h:commandButton>
</h:form>
... how to define the method to be called in the foo bean? Is there a standard JSF method to define the default submit method?
0
source to share