You can use the icecore:navigationNotifier component to receive notifications if the page shown in the browser was rendered as a result of a browser navigation by using 'Back' or 'Forward' browser history buttons.
|See the ICEfaces Showcase Live Demo of this component, complete with source code.|
To use the icecore:navigationNotifier tag, first declare the core namespace:
<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
Then add the desired tag to your page markup:
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
action Use this attribute to reference a bean method. The method is invoked when 'back' or 'forward' browser button is used.
- As of ICEfaces 4.0, the icecore:navigationNotifier requires HTML5-compliant browser support and IS NOT supported on IE8 or IE9 browsers. Previous releases (e.g. 3.3) do support the older IE browsers as they were based on a different implementation.