January 2012
Intermediate to advanced
406 pages
11h 11m
English
This recipe shows you how to determine whether there are unsaved changes to the current transaction. This may come in handy when, for instance, you want to raise a warning pop-up message each time you attempt to leave the current page. This is demonstrated in the recipe Using an af:popup to handle pending changes in this chapter. Furthermore, by adding this functionality in a generic way to your application, making it part of the CommonActions framework for example, you can provide a standard application-wide approach for dealing with pending uncommitted transaction changes. The CommonActions framework was introduced in the Using a generic backing bean actions framework
Read now
Unlock full access