rem: sendPageAndWait("groups/profile.xml", { 
add: sendPageAndWait("groups/" + groupId + "/profile.xml", { 
context: function group_change_profile(groupId) {    var groupManager = getGroupManager();    var group = groupManager.getGroup(groupId);	var name = group.getName();	var description = group.getDescription();		// at the moment the loop is executed only once (no form validation)	    while (true) {	    sendPageAndWait("groups/profile.xml", {	    	"group-id" : groupId,	    	"name" : name,	    	"description" : description,	    	"page-title" : "Edit Group"	    });	    	    if (cocoon.request.get("cancel")) {	    	break;	    }	    	    if (cocoon.request.get("submit")) {		    name = cocoon.request.get("name");	       	group.setName(name);	       	description = cocoon.request.get("description");	       	group.setDescription(description);	   		group.save();	    	break;	    }    }       	sendPage("redirect.html", { "url" : "index.html" });}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/0333865e923b06227a42e52f0caa604e7cc410e2/group-admin.js/buggy/src/webapp/lenya/content/admin/groups/group-admin.js