myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1178809 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java
Date Tue, 04 Oct 2011 14:16:25 GMT
Author: bommel
Date: Tue Oct  4 14:16:25 2011
New Revision: 1178809

URL: http://svn.apache.org/viewvc?rev=1178809&view=rev
Log:
(TOBAGO-1033) Replace usages of TobagoFacesContext with FacesContext.getAttributes or ExternalContext.getRequestMap
(jsf < 2.0)

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java?rev=1178809&r1=1178808&r2=1178809&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/FacesContextUtils.java
Tue Oct  4 14:16:25 2011
@@ -29,18 +29,18 @@ import java.util.List;
 import java.util.Set;
 
 public final class FacesContextUtils {
-  private static String TOBAGO_AJAX = "org.apache.myfaces.tobago.ajax";
-  private static String TOBAGO_AJAX_COMPONENT_ID = "org.apache.myfaces.tobago.ajaxComponentId";
-  private static String TOBAGO_ENCTYPE = "org.apache.myfaces.tobago.enctype";
-  private static String TOBAGO_SCRIPT_FILES = "org.apache.myfaces.tobago.scriptFiles";
-  private static String TOBAGO_SCRIPT_BLOCKS = "org.apache.myfaces.tobago.scriptBlocks";
-  private static String TOBAGO_STYLE_FILES = "org.apache.myfaces.tobago.styleFiles";
-  private static String TOBAGO_STYLE_BLOCKS = "org.apache.myfaces.tobago.styleBlocks";
-  private static String TOBAGO_ONLOAD_SCRIPTS = "org.apache.myfaces.tobago.onloadScripts";
-  private static String TOBAGO_ONUNLOAD_SCRIPTS = "org.apache.myfaces.tobago.onunloadScripts";
-  private static String TOBAGO_ONEXIT_SCRIPTS = "org.apache.myfaces.tobago.onexitScripts";
-  private static String TOBAGO_ONSUBMIT_SCRIPTS = "org.apache.myfaces.tobago.onsubmitScripts";
-  private static String TOBAGO_POPUPS = "org.apache.myfaces.tobago.popups";
+  private final static String TOBAGO_AJAX = "org.apache.myfaces.tobago.ajax";
+  private final static String TOBAGO_AJAX_COMPONENT_ID = "org.apache.myfaces.tobago.ajaxComponentId";
+  private final static String TOBAGO_ENCTYPE = "org.apache.myfaces.tobago.enctype";
+  private final static String TOBAGO_SCRIPT_FILES = "org.apache.myfaces.tobago.scriptFiles";
+  private final static String TOBAGO_SCRIPT_BLOCKS = "org.apache.myfaces.tobago.scriptBlocks";
+  private final static String TOBAGO_STYLE_FILES = "org.apache.myfaces.tobago.styleFiles";
+  private final static String TOBAGO_STYLE_BLOCKS = "org.apache.myfaces.tobago.styleBlocks";
+  private final static String TOBAGO_ONLOAD_SCRIPTS = "org.apache.myfaces.tobago.onloadScripts";
+  private final static String TOBAGO_ONUNLOAD_SCRIPTS = "org.apache.myfaces.tobago.onunloadScripts";
+  private final static String TOBAGO_ONEXIT_SCRIPTS = "org.apache.myfaces.tobago.onexitScripts";
+  private final static String TOBAGO_ONSUBMIT_SCRIPTS = "org.apache.myfaces.tobago.onsubmitScripts";
+  private final static String TOBAGO_POPUPS = "org.apache.myfaces.tobago.popups";
           
   
   public static boolean isAjax(FacesContext context) {



Mime
View raw message