Available since OmniFaces 1.3

OmniFaces view handler. This class was before version 2.5 known as RestorableViewHandler. This view handler performs the following tasks:
  1. Since 1.3: Recreate entire view when EnableRestorableView tag is in the metadata. This effectively prevents the ViewExpiredException on the view.
  2. Since 2.2: Detect unload requests coming from ViewScoped beans. This will create a dummy view and only restore the view scoped state instead of building and restoring the entire view.
  3. Since 2.5: If project stage is development, then throw an IllegalStateException when there's a nested UIForm component.