myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1070578 - /myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java
Date Mon, 14 Feb 2011 17:15:04 GMT
Author: gpetracek
Date: Mon Feb 14 17:15:04 2011
New Revision: 1070578

URL: http://svn.apache.org/viewvc?rev=1070578&view=rev
Log:
EXTCDI-135 check configured access-decision-voters for std. navigation

Modified:
    myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java

Modified: myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java?rev=1070578&r1=1070577&r2=1070578&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/navigation/ViewConfigAwareNavigationHandler.java
Mon Feb 14 17:15:04 2011
@@ -69,6 +69,7 @@ public class ViewConfigAwareNavigationHa
     @Override
     public void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
     {
+        initBeanManager();
         if(outcome != null && outcome.contains("."))
         {
             String originalOutcome = outcome;
@@ -76,7 +77,6 @@ public class ViewConfigAwareNavigationHa
 
             if(!this.otherOutcomes.contains(outcome))
             {
-                initBeanManager();
                 //it isn't possible to support interfaces due to cdi restrictions
                 if(outcome.startsWith("class "))
                 {



Mime
View raw message