Changes
Page history
fix: associates the ENTER key to the Save button in the CRUD example in the tutorial
authored
Nov 03, 2022
by
Vítor E. Silva Souza
Show whitespace changes
Inline
Side-by-side
tutorials/JButler-CRUD-Tutorial.md
View page @
b5132fb2
...
...
@@ -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>
...
...
...
...