OmniFaces view handler. This class was before version 2.5 known as
RestorableViewHandler. This view handler performs the following tasks:
- Since 1.3: Recreate entire view when
EnableRestorableViewtag is in the metadata. This effectively prevents the
ViewExpiredExceptionon the view.
- Since 2.2: Detect unload requests coming from
ViewScopedbeans. This will create a dummy view and only restore the view scoped state instead of building and restoring the entire view.
- Since 2.5: If project stage is development, then throw an
IllegalStateExceptionwhen there's a nested