You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/06/01 17:45:59 UTC

svn commit: r179388 - /myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java

Author: mmarinschek
Date: Wed Jun  1 08:45:59 2005
New Revision: 179388

URL: http://svn.apache.org/viewcvs?rev=179388&view=rev
Log:
patched as supplied (http://issues.apache.org/jira/browse/MYFACES-266)

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

Modified: myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java?rev=179388&r1=179387&r2=179388&view=diff
==============================================================================
--- myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java (original)
+++ myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java Wed Jun  1 08:45:59 2005
@@ -114,13 +114,15 @@
 	}
 	
 	void remove(FacesContext facesContext){
+        _active = false;
 		if( evaluatedExpression == null )
 			return;
+        
+        evaluatedExpression = null;
 
         log.debug("removeAlias: " + _valueExpression + " != " + _aliasBeanExpression);
         ValueBinding aliasVB = _aliasComponent.getValueBinding("alias");
         if( aliasVB != null )
 			aliasVB.setValue(facesContext, null);
-		_active = false;
 	}
-}
\ No newline at end of file
+}