[jboss-cvs] jboss-seam/src/main/org/jboss/seam/jsf ...
Gavin King
gavin.king at jboss.com
Thu Jun 14 23:50:16 EDT 2007
User: gavin
Date: 07/06/14 23:50:16
Modified: src/main/org/jboss/seam/jsf AbstractSeamPhaseListener.java
Log:
exclude debug page
Revision Changes Path
1.53 +17 -10 jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractSeamPhaseListener.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/AbstractSeamPhaseListener.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- AbstractSeamPhaseListener.java 13 Jun 2007 16:43:03 -0000 1.52
+++ AbstractSeamPhaseListener.java 15 Jun 2007 03:50:16 -0000 1.53
@@ -228,6 +228,12 @@
private boolean preRenderPage(PhaseEvent event)
{
+ if ( Pages.isDebugPage() )
+ {
+ return false;
+ }
+ else
+ {
Lifecycle.setPhaseId(PhaseId.INVOKE_APPLICATION);
boolean actionsWereCalled = false;
try
@@ -245,6 +251,7 @@
}
}
}
+ }
protected void handleTransactionsAfterPageActions(PhaseEvent event) {}
More information about the jboss-cvs-commits
mailing list