navigationNotifier

Version 6 by Ken Fyten
on Nov 13, 2014 12:34.


compared with
Current by Ken Fyten
on Nov 21, 2014 15:28.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 h2. Overview
 _Since 3.1_
  
  You can use the _icecore:navigationNotifier_ tag to get notified when the page shown in the browser was rendered as a result of a browser navigation by using 'back' or 'forward' browser buttons.
  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.
  
 {tip}See the ICEfaces Showcase [Live Demo|http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=navigationNotifierBean] of this component, complete with source code.{tip}
  
 h2. Getting Started
  
 To use the _icecore:navigationNotifier_ tag, first declare the core namespace:
  
 {panel}
 {code:html|borderStyle=dashed}
 <html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
 {code}
 {panel}
  
  
 Then add the desired tag to your page markup:
  
 {panel}
 {code:xml|borderStyle=dashed}
 <h:form id="form1">
  <icecore:navigationNotifier action="#{....}"/>
  ...
 {code}
 {panel}
  
 h2. Attributes
 {tip:title=TagLib Documentation}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|http://res.icesoft.org/docs/v4_latest/core/comps/tld/icecore/navigationNotifier.html].{tip}
 {panel}
 *action* Use this attribute to reference a bean method. The method is invoked when 'back' or 'forward' browser button is used.
 {panel}
  
 h2. Known Issues
  
 * 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.

© Copyright 2018 ICEsoft Technologies Canada Corp.