Author: matzew
Date: Fri Jan 19 03:09:07 2007
New Revision: 497775
URL: http://svn.apache.org/viewvc?view=rev&rev=497775
Log:
doing the remove() call before entering the map.
Modified:
shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java
Modified:
shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java
URL:
http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java?view=diff&rev=497775&r1=497774&r2=497775
==
---
shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java
(original)
+++
shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/ViewPhaseListener.java
Fri Jan 19 03:09:07 2007
@@ -222,11 +222,12 @@
// Initialize local values we will need
Map map = event.getFacesContext().getExternalContext().getRequestMap();
+// Remove our list of initialized views explicitly
+map.remove(FacesConstants.VIEWS_INITIALIZED);
+
List list = new ArrayList();
Iterator entries = map.entrySet().iterator();
-// Remove our list of initialized views explicitly
-map.remove(FacesConstants.VIEWS_INITIALIZED);
// First select all the ViewController and AbstractRequestBean
instances
while (entries.hasNext()) {