You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2006/11/16 08:12:35 UTC

svn commit: r475624 - /incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js

Author: jmargaris
Date: Thu Nov 16 00:12:35 2006
New Revision: 475624

URL: http://svn.apache.org/viewvc?view=rev&rev=475624
Log:
databinding bugfix, changed values not being written into DOM
after resolution

Modified:
    incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js

Modified: incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js?view=diff&rev=475624&r1=475623&r2=475624
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js (original)
+++ incubator/xap/trunk/src/xap/taghandling/AbstractTagImpl.js Thu Nov 16 00:12:35 2006
@@ -205,6 +205,9 @@
 		var event = new xap.xml.dom.events.AttributeChangeEvent( e, attributeName, attributeValue );
 		// change the value
 		this.beforeAttributeSet( event );
+		if ( event.getNewValue()!= event.getOldValue() ){	
+			this.writeBackAttribute( attributeName, event.getNewValue() );
+		}
 		this.onAttributeSet( event );
 	}
 }