ItEr26S13AltaEtiquetasTipoEtiqueta: Save and continue
This commit is contained in:
parent
fc1c47ee38
commit
ecdf724cfe
2 changed files with 12 additions and 0 deletions
|
|
@ -142,6 +142,17 @@ public class LabelTypeCRUDController extends GenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Save current {@link LabelType} and continue
|
||||
*/
|
||||
public void saveAndContinue() {
|
||||
try {
|
||||
labelTypeModel.confirmSave();
|
||||
} catch (ValidationException e) {
|
||||
showInvalidValues(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Show all {@link LabelType}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
<!-- Control buttons -->
|
||||
<hbox>
|
||||
<button label="${i18n:_('Save')}" onClick="controller.save()" />
|
||||
<button label="${i18n:_('Save & Continue')}" onClick="controller.saveAndContinue()" />
|
||||
<button label="${i18n:_('Cancel')}"
|
||||
onClick="controller.cancel()" />
|
||||
</hbox>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue