rem: sendPageAndWait("users/profile.xml", { 
add: sendPageAndWait("users/" + userId + "/profile.xml", { 
context: function user_change_profile(userId) {    var user = getUserManager().getUser(userId);	var fullName = user.getFullName();	var email = user.getEmail();	var description = user.getDescription();		var ldapId;	if (user.getClass().getName().endsWith("LDAPUser")) {		ldapId = user.getLdapId();	}		// at the moment the loop is executed only once (no form validation)	    while (true) {	    sendPageAndWait("users/profile.xml", {	    	"user-id" : userId,	    	"fullname" : fullName,	    	"email" : email,	    	"description" : description,	    	"page-title" : "Edit Profile"	    });	    	    if (cocoon.request.get("cancel")) {	    	break;	    }	    	    if (cocoon.request.get("submit")) {		    fullName = cocoon.request.get("fullname");	       	user.setFullName(fullName);		    email = cocoon.request.get("email");	       	user.setEmail(email);	       	description = cocoon.request.get("description");	       	user.setDescription(description);	   		user.save();	    	break;	    }    }       	sendPage("redirect.html", { "url" : "index.html" });}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/12471b61211afdc841e584d85fb80a05d69d4b6a/user-admin.js/clean/src/webapp/lenya/content/admin/users/user-admin.js