tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r643811 - /incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp
Date Wed, 02 Apr 2008 09:23:38 GMT
Author: jsdelfino
Date: Wed Apr  2 02:23:37 2008
New Revision: 643811

URL: http://svn.apache.org/viewvc?rev=643811&view=rev
Log:
Fix for TUSCANY-2183. Merged changes from trunk.

Modified:
    incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp

Modified: incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp?rev=643811&r1=643810&r2=643811&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp (original)
+++ incubator/tuscany/branches/sca-java-1.2/tutorial/catalog-webapp/webapp/catalog.jsp Wed
Apr  2 02:23:37 2008
@@ -40,9 +40,9 @@
 
 <table border="0">
 
-<% for (Item item: items) { %>
+<% for (int i = 0, n = items.length; i < n; i++) { %>
 
-    <tr><td><%=item.getName() %></td><td><%=item.getPrice()
%></td></tr>
+    <tr><td><%=items[i].getName() %></td><td><%=items[i].getPrice()
%></td></tr>
 
 <% } %>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message