group.setAttribute(field.getName(),attr);
if("".equals(attr)) group.deleteAttribute(field.getName()); else group.setAttribute(field.getName(),attr);
  public ActionForward grouperExecute(ActionMapping mapping, ActionForm form,      HttpServletRequest request, HttpServletResponse response,HttpSession session,	  GrouperSession grouperSession)      throws Exception {      	DynaActionForm groupFormBean = (DynaActionForm) form;      	String groupId = (String)groupFormBean.get("groupId");      	Group group = GroupFinder.findByUuid(grouperSession,groupId);      	List fields = new ArrayList();      	Set types = group.getRemovableTypes();      	GroupType type;      	Iterator it = types.iterator();      	while(it.hasNext()) {      		type = (GroupType)it.next();      		if(type.getName().equals("base")) continue;      		Set fs = type.getFields();      		Iterator fieldsIterator = fs.iterator();      		Field field;      		while(fieldsIterator.hasNext()) {      			field = (Field)fieldsIterator.next();      			if(field.getType().equals(FieldType.ATTRIBUTE)) fields.add(field);      		}      	}      	Field field;      	String attr;      	String groupAttr;      	for(int i=0;i<fields.size();i++) {      		field = (Field)fields.get(i);      		attr = request.getParameter("attr." + field.getName());      		groupAttr = group.getAttribute(field.getName());      		if(attr!=null && !attr.equals(groupAttr)) {      			group.setAttribute(field.getName(),attr);      		}      	}      		      	      	      			request.setAttribute("message",new Message("groups.action.saved-attr",true));		String submit = request.getParameter("submit.save");					if(submit!=null) {				return mapping.findForward(FORWARD_GroupSummary);			}			session.setAttribute("findForNode",request.getParameter("groupId"));   return mapping.findForward(FORWARD_FindNewMembers);      }