You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/10/27 21:00:33 UTC

svn commit: r589180 - /incubator/tuscany/java/sca/tutorial/store/uiservices/store.html

Author: jsdelfino
Date: Sat Oct 27 12:00:33 2007
New Revision: 589180

URL: http://svn.apache.org/viewvc?rev=589180&view=rev
Log:
Removed workaround for JSON databinding issue with arrays.

Modified:
    incubator/tuscany/java/sca/tutorial/store/uiservices/store.html

Modified: incubator/tuscany/java/sca/tutorial/store/uiservices/store.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/tutorial/store/uiservices/store.html?rev=589180&r1=589179&r2=589180&view=diff
==============================================================================
--- incubator/tuscany/java/sca/tutorial/store/uiservices/store.html (original)
+++ incubator/tuscany/java/sca/tutorial/store/uiservices/store.html Sat Oct 27 12:00:33 2007
@@ -32,13 +32,10 @@
 
 	function catalog_getResponse(items) {
 		var catalog = "";
-		//fixme
-		items = items.String_collection.String;
+		alert(items);
 		for (var i=0; i<items.length; i++) {
-		    //fixme
-		    var item = items[i]["$"];
 			catalog += '<input name="items" type="checkbox" value="' + 
-						item + '">' + item + ' <br>';
+						item[i] + '">' + item[i] + ' <br>';
 		}
 		document.getElementById('catalog').innerHTML=catalog;
 	}



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