[seam-commits] Seam SVN: r14260 - branches/community/Seam_2_3/jboss-seam-jsf2/src/main/java/org/jboss/seam/contexts.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jan 20 05:42:37 EST 2012


Author: manaRH
Date: 2012-01-20 05:42:36 -0500 (Fri, 20 Jan 2012)
New Revision: 14260

Modified:
   branches/community/Seam_2_3/jboss-seam-jsf2/src/main/java/org/jboss/seam/contexts/PageContext.java
Log:
JBSEAM-4667, JBSEAM-4868 PageContext in JSF2 needs to use viewMap instead of attributeMap

Modified: branches/community/Seam_2_3/jboss-seam-jsf2/src/main/java/org/jboss/seam/contexts/PageContext.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-jsf2/src/main/java/org/jboss/seam/contexts/PageContext.java	2012-01-17 21:18:03 UTC (rev 14259)
+++ branches/community/Seam_2_3/jboss-seam-jsf2/src/main/java/org/jboss/seam/contexts/PageContext.java	2012-01-20 10:42:36 UTC (rev 14260)
@@ -152,7 +152,7 @@
       }
       UIViewRoot viewRoot = facesContext.getViewRoot();
       return viewRoot==null ? 
-            new HashMap() : viewRoot.getAttributes();
+            new HashMap() : viewRoot.getViewMap();
    }
 
    private static PhaseId getPhaseId()
@@ -180,4 +180,4 @@
       return getPhaseId().compareTo(PhaseId.INVOKE_APPLICATION) > 0;
    }
 
-}
+}
\ No newline at end of file



More information about the seam-commits mailing list