[jboss-cvs] jboss-seam/src/main/org/jboss/seam/navigation ...
Peter Muir
peter at bleepbleep.org.uk
Sat Aug 4 09:59:24 EDT 2007
User: pmuir
Date: 07/08/04 09:59:24
Modified: src/main/org/jboss/seam/navigation Pages.java
Log:
JBSEAM-1731
Revision Changes Path
1.13 +1 -2 jboss-seam/src/main/org/jboss/seam/navigation/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/Pages.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Pages.java 2 Aug 2007 19:08:12 -0000 1.12
+++ Pages.java 4 Aug 2007 13:59:24 -0000 1.13
@@ -1480,8 +1480,7 @@
public static boolean isDebugPage()
{
return Init.instance().isDebug() &&
- FacesContext.getCurrentInstance() != null &&
- FacesContext.getCurrentInstance().getViewRoot() != null &&
+ getCurrentViewId() != null &&
getCurrentViewId().startsWith("/debug.");
}
More information about the jboss-cvs-commits
mailing list