In this 20th lesson you'll learn how to validate on remove. The validations we have seen until now are processed when the entity is modified, but sometimes it's useful or it's required to process the validation before the removal of the entity, and to use the validation to cancel the entity removal.
We are going to modify the application to reject the removal of an order if it has an invoice associated.
🔎You can see more about the lesson here: https://openxava.org/OpenXavaDoc/docs...
🔎You can access the full course here: https://www.openxava.org/OpenXavaDoc/...
For any problem with the lesson ask in our forum:
https://sourceforge.net/p/openxava/di...
Don't forget to subscribe and leave us your comment!