incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r488943 - /incubator/xap/trunk/WebContent/examples/widgets/table.xal
Date Wed, 20 Dec 2006 07:39:02 GMT
Author: jmargaris
Date: Tue Dec 19 23:39:02 2006
New Revision: 488943

URL: http://svn.apache.org/viewvc?view=rev&rev=488943
Log:
Updated to use id() function for effeciency for some operations
now that the id() function works correctly

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/table.xal

Modified: incubator/xap/trunk/WebContent/examples/widgets/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/table.xal?view=diff&rev=488943&r1=488942&r2=488943
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/table.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/table.xal Tue Dec 19 23:39:02 2006
@@ -53,13 +53,13 @@
 	
 	<macro:macro id="removeRow" xmlns:macro="http://openxal.org/core/macro">
 		<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
-			<xm:remove-element select="//table/row[1]"/>
+			<xm:remove-element select="id('testComponent')/row[1]"/>
 		</xm:modifications>
 	</macro:macro>
 	
 	<macro:macro id="removeAllRows" xmlns:macro="http://openxal.org/core/macro">
 		<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
-			<xm:remove-element select="//row"/> 
+			<xm:remove-element select="id('testComponent')/row"/> 
 		</xm:modifications>
 	</macro:macro>
 



Mime
View raw message