rem: updateUserListCallback:function(cmpXml){ 
add: updateUserListCallback:function(data, evt){ var cmpXml = evt.responseXML 
context: 		updateUserListCallback:function(cmpXml){			this.updateControlsView();			var jsonObject = [];			var users = cmpXml.getElementsByTagName("user")			for (i = 0; i < users.length; i++){				var user = users[i];				var row = {};				var firstname = user.getElementsByTagName("firstName")[0].firstChild.nodeValue				var lastname = user.getElementsByTagName("lastName")[0].firstChild.nodeValue				var username = user.getElementsByTagName("username")[0].firstChild.nodeValue				var email = user.getElementsByTagName("email")[0].firstChild.nodeValue				var dateCreated = user.getElementsByTagName("created")[0].firstChild.nodeValue				var dateModified = user.getElementsByTagName("modified")[0].firstChild.nodeValue				var administrator = (user.getElementsByTagName("administrator").length > 0)				row.email = email;				row.name = firstname + " " + lastname;				row.username = username;				row.created = dojo.date.fromRfc3339(dateCreated);				row.modified = dojo.date.fromRfc3339(dateModified);				if (administrator) {					row.admin = "Yes";				} else {					row.admin = "No";				}				jsonObject.push(row);			}			var pagingLinks = cmpXml.getElementsByTagName("link");			this.cmpFirstLink = null;			this.cmpPreviousLink = null;			this.cmpNextLink = null;			this.cmpLastLink = null;			for (i=0; i< pagingLinks.length; i++){				link = pagingLinks[i]				switch(link.getAttribute("rel")){					case 'first':						this.cmpFirstLink = link.getAttribute("href");						break;					case 'previous':						this.cmpPreviousLink = link.getAttribute("href");						break;					case 'next':						this.cmpNextLink = link.getAttribute("href");						break;					case 'last':						this.cmpLastLink = link.getAttribute("href");						break;				}			}			var multiPage = (this.cmpPreviousLink || this.cmpNextLink)			document.getElementById("firstPageLink").style.visibility =				(this.cmpFirstLink && multiPage) ? 'visible' : 'hidden';			document.getElementById("previousPageLink").style.visibility =				(this.cmpPreviousLink) ? 'visible' : 'hidden';			document.getElementById("nextPageLink").style.visibility =				(this.cmpNextLink) ? 'visible' : 'hidden';			document.getElementById("lastPageLink").style.visibility =				(this.cmpLastLink && multiPage) ? 'visible' : 'hidden';			document.getElementById("pageNumberChooser").style.visibility =				(multiPage) ? 'visible' : 'hidden';			this.store.setData(jsonObject);		},
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/778ab23dab95034799a0f6fb7eb0756aadc5a3b3/CosmoUserList.js/buggy/src/webapp/js/cosmo/ui/widget/CosmoUserList.js