rem:  var link = pagingLinks[i].link;  switch(link.rel){ 
add:  link = pagingLinks[i]  switch(link.getAttribute("rel")){ 
context: 		updateUserListCallback:function(cmpResponse){			this.updateControlsView();			var jsonObject = [];			var users = cmpResponse.user			for (i = 0; i < users.length; i++){					var user = users[i];								var row = {};				var firstname = user.firstname[0].value				var lastname = user.lastname[0].value				var username = user.username[0].value				var email = user.email[0].value				var dateCreated = user.created[0].value				var dateModified = user.modified[0].value				var administrator = (user.administrator != undefined)				row.email = email;				row.name = firstname + " " + lastname;				row.username = username;					row.created = dojo.date.fromRfc3339(dateCreated);				/*row.created = (dateCreated.getMonth() + 1).toString() + "-" +								dateCreated.getDate().toString() + "-" +								dateCreated.getFullYear().toString();				*/				row.modified = dojo.date.fromRfc3339(dateModified);				/*row.modified = (dateModified.getMonth() + 1).toString() + "-" +								dateModified.getDate().toString() + "-" +								dateModified.getFullYear().toString();				*/				if (administrator) {					row.admin = "Yes";				} else {					row.admin = "No";				}				row.toString = function(){return this.username}				jsonObject.push(row);			}			var pagingLinks = cmpResponse.link;			this.cmpFirstLink = null;			this.cmpPreviousLink = null;			this.cmpNextLink = null;			this.cmpLastLink = null;				for (i=0; i< pagingLinks.length; i++){				var link = pagingLinks[i].link;				switch(link.rel){					case 'first':						this.cmpFirstLink = link.href;						break;					case 'previous':						this.cmpPreviousLink = link.href;						break;					case 'next':						this.cmpNextLink = link.href;						break;					case 'last':						this.cmpLastLink = link.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/2a1a5095c6f399ad4fea4b56b06b67c61e73c8d0/CosmoUserList.js/buggy/src/webapp/js/cosmo/ui/widget/CosmoUserList.js