You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/05/08 07:17:35 UTC

svn commit: r169129 - /myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java

Author: svieujot
Date: Sat May  7 22:17:34 2005
New Revision: 169129

URL: http://svn.apache.org/viewcvs?rev=169129&view=rev
Log:
AliasBeansScope minor bugfix.

Modified:
    myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java

Modified: myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java?rev=169129&r1=169128&r2=169129&view=diff
==============================================================================
--- myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java (original)
+++ myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/AliasBeansScope.java Sat May  7 22:17:34 2005
@@ -78,6 +78,8 @@
             throw new NullPointerException("context");
         if (isTransient())
             return null;
+
+		makeAliases(context);
 		
         Map facetMap = null;
         for (Iterator it = getFacets().entrySet().iterator(); it.hasNext();) {
@@ -90,8 +92,6 @@
             }
         }
 		
-		makeAliases(context);
-		
         List childrenList = null;
         if (getChildCount() > 0) {
             for (Iterator it = getChildren().iterator(); it.hasNext();) {
@@ -115,6 +115,7 @@
         Object myState = ((Object[]) state)[0];
 
         restoreState(context, myState);
+
         makeAliases(context);
 
         Map facetMap = (Map) ((Object[]) state)[1];