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
Show replies by date