myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1235188 - /myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/util/JsfUtils.java
Date Tue, 24 Jan 2012 09:51:17 GMT
Author: gpetracek
Date: Tue Jan 24 09:51:16 2012
New Revision: 1235188

URL: http://svn.apache.org/viewvc?rev=1235188&view=rev
Log:
EXTCDI-260 detection of different versions of mojarra

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

Modified: myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/util/JsfUtils.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/util/JsfUtils.java?rev=1235188&r1=1235187&r2=1235188&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/util/JsfUtils.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/jsf-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/jsf/impl/util/JsfUtils.java
Tue Jan 24 09:51:16 2012
@@ -213,7 +213,8 @@ public abstract class JsfUtils
     {
         Set<RequestParameter> result = new HashSet<RequestParameter>();
 
-        if(externalContext == null || externalContext.getRequestParameterValuesMap() == null)
+        if(externalContext == null || //detection of early config for different mojarra versions
+                externalContext.getRequestParameterValuesMap() == null || externalContext.getRequest()
== null)
         {
             return result;
         }



Mime
View raw message