[seam-commits] Seam SVN: r13931 - branches/community/Seam_2_2/src/main/org/jboss/seam/jsf.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Nov 24 16:33:49 EST 2010


Author: manaRH
Date: 2010-11-24 16:33:49 -0500 (Wed, 24 Nov 2010)
New Revision: 13931

Modified:
   branches/community/Seam_2_2/src/main/org/jboss/seam/jsf/DelegatingFacesContext.java
Log:
JBSEAM-4724

Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/jsf/DelegatingFacesContext.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/jsf/DelegatingFacesContext.java	2010-11-24 13:23:58 UTC (rev 13930)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/jsf/DelegatingFacesContext.java	2010-11-24 21:33:49 UTC (rev 13931)
@@ -1,5 +1,6 @@
 package org.jboss.seam.jsf;
 
+import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 
@@ -45,8 +46,12 @@
      return delegate.getApplication();
    }
    
-   public Map<String, Object> getAttributes() {
-      return delegate.getExternalContext().getApplicationMap();
+   
+   public Map<Object, Object> getAttributes() {
+      // FIXME: due JSF 2 new method for
+      // javax.faces.context.FacesContext.getAttributes() and non existent
+      // JSF 1.2 equivalent method it returns empty Map without delegating call
+      return new HashMap<Object, Object>();
    }
 
    @Override



More information about the seam-commits mailing list