[jboss-cvs] jboss-seam/src/debug/org/jboss/seam/debug/jsf ...
Gavin King
gavin.king at jboss.com
Thu Mar 8 21:14:15 EST 2007
User: gavin
Date: 07/03/08 21:14:15
Modified: src/debug/org/jboss/seam/debug/jsf
SeamDebugPhaseListener.java
Log:
fix another bug in natural conversation ids
Revision Changes Path
1.4 +2 -1 jboss-seam/src/debug/org/jboss/seam/debug/jsf/SeamDebugPhaseListener.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamDebugPhaseListener.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/debug/org/jboss/seam/debug/jsf/SeamDebugPhaseListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SeamDebugPhaseListener.java 22 Oct 2006 22:37:52 -0000 1.3
+++ SeamDebugPhaseListener.java 9 Mar 2007 02:14:15 -0000 1.4
@@ -13,6 +13,7 @@
import org.jboss.seam.contexts.Lifecycle;
import org.jboss.seam.core.Init;
+import org.jboss.seam.core.Pages;
import com.sun.facelets.Facelet;
import com.sun.facelets.compiler.SAXCompiler;
@@ -34,7 +35,7 @@
Lifecycle.setPhaseId( event.getPhaseId() ); //since this gets called before SeamPhaseListener!
FacesContext facesContext = FacesContext.getCurrentInstance();
- String viewId = facesContext.getViewRoot().getViewId();
+ String viewId = Pages.getViewId(facesContext);
if ( viewId!=null && viewId.startsWith("/debug.") && Init.instance().isDebug() )
{
try
More information about the jboss-cvs-commits
mailing list