fix: associates the ENTER key to the Save button in the CRUD example in the tutorial authored by Vítor E. Silva Souza's avatar Vítor E. Silva Souza
......@@ -1000,8 +1000,9 @@ The [JButler Base Project](https://gitlab.labes.inf.ufes.br/labes/jbutler-base-p
</p:outputPanel>
<f:facet name="footer">
<p:commandButton value="#{msgs['jbutler.crud.button.save']}" icon="pi pi-check" actionListener="#{manageWorkshopsController.save}" update="manage-entity-content" process="manage-entity-content @this" oncomplete="if(!args.validationError) PF('formDialog').hide()" />
<p:commandButton id="saveButton" value="#{msgs['jbutler.crud.button.save']}" icon="pi pi-check" actionListener="#{manageWorkshopsController.save}" update="manage-entity-content" process="manage-entity-content @this" oncomplete="if(!args.validationError) PF('formDialog').hide()" />
<p:commandButton value="#{msgs['jbutler.crud.button.cancel']}" icon="pi pi-times" onclick="PF('formDialog').hide()" />
<p:defaultCommand target="saveButton" />
</f:facet>
</p:dialog>
......
......