When a exception is produced on commit time from a dialog when a action that closes the dialog is executed (as saved) then:
1. The error message is shown in the root disable view
2. The active dialog becomes not functional.
Now an error on commit never disable the dialog or show messages in an hide layer of the UI. However, the state of dialog is the one left by the executed action. So it's in the hand of the developer that the dialog would be shown or hiden on certain error.
If you want to produce errors on commit and that standard actions do not hide the dialog just add the next entry to xava.properties:
mapFacadeAutoCommit=true
This produces the commit just after saving the data and before closing the dialog.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now an error on commit never disable the dialog or show messages in an hide layer of the UI. However, the state of dialog is the one left by the executed action. So it's in the hand of the developer that the dialog would be shown or hiden on certain error.
If you want to produce errors on commit and that standard actions do not hide the dialog just add the next entry to xava.properties:
mapFacadeAutoCommit=true
This produces the commit just after saving the data and before closing the dialog.