>The current <code>UIViewRoot</code> is different from the
 event's source's <code>UIViewRoot</code>.</p></li>

 </ul>

 <p>Save a local reference to the viewId of the current
 <code>UIViewRoot</code>.  For discussion, let this reference be
 <em>viewIdBeforeAction</em>.</p>

 <p>Obtain the <a href="../../../javax/faces/event/ActionListener.html" title="interface in javax.faces.event"><code>ActionListener</code></a> from the <a href="../../../javax/faces/application/Application.html" title="class in javax.fa