myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r179388 - /myfaces/trunk/src/components/org/apache/myfaces/custom/aliasbean/Alias.java
Date Wed, 01 Jun 2005 15:45:59 GMT
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
+}



Mime
View raw message