[jboss-cvs] jboss-seam/src/main/org/jboss/seam/jsf ...
Gavin King
gavin.king at jboss.com
Wed Oct 11 00:42:12 EDT 2006
User: gavin
Date: 06/10/11 00:42:12
Modified: src/main/org/jboss/seam/jsf SeamPhaseListener.java
Log:
make tests run
Revision Changes Path
1.89 +9 -2 jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamPhaseListener.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/jsf/SeamPhaseListener.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- SeamPhaseListener.java 8 Oct 2006 14:01:54 -0000 1.88
+++ SeamPhaseListener.java 11 Oct 2006 04:42:12 -0000 1.89
@@ -38,9 +38,16 @@
public SeamPhaseListener()
{
+ try
+ {
ApplicationFactory factory = (ApplicationFactory) FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
factory.setApplication( new SeamApplication( factory.getApplication() ) );
}
+ catch (RuntimeException re)
+ {
+ log.info("Unable to replace JSF Application object");
+ }
+ }
public void beforePhase(PhaseEvent event)
{
More information about the jboss-cvs-commits
mailing list