anchor.diff:                  if (description != null) {
                       newGroup.setDescription(description);
                   }
  -                if (showInRoster) {
  -                    newGroup.getProperties().put("sharedRoster.showInRoster", showInRosterType);
  -                    newGroup.getProperties().put("sharedRoster.displayName", displayName);
  -                    newGroup.getProperties().put("sharedRoster.groupList", groupList == null ? "" : groupList);
  +                if ("onlyGroup".equals(showGroup) || "everybody".equals(showGroup)) {
  +                    newGroup.getProperties().put("sharedRoster.showInRoster", showGroup);
  +                    newGroup.getProperties().put("sharedRoster.displayName", groupDisplayName);
  +                    newGroup.getProperties().put("sharedRoster.groupList", toList(groupNames));
                   }
                   else {
                       newGroup.getProperties().put("sharedRoster.showInRoster", "nobody");
  
positive.code:   - This software is published under the terms of the GNU Public License (GPL),
    - a copy of which is included in this distribution.
  --%>
  <%@ page
  import   ="org.jivesoftware.util.*,
                   java.util.HashMap,
                   java.util.Map,
                   java.util.*,
  
negative.code:                  org.dom4j.xpath.DefaultXPath,
                   org.dom4j.*,
                   org.jivesoftware.messenger.group.*,
                   java.net.URLEncoder,
                   org.jivesoftware.messenger.user.UserManager,
                   org.jivesoftware.messenger.user.UserNotFoundException"
      errorPage="error.jsp"
  %>
  
  <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  
  <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager"/>
  <jsp:useBean id="errors" class="java.util.HashMap"/>
  
  <%  webManager.init(request, response, session, application, out); %>
  
  <%  // Get parameters //
      boolean create = request.getParameter("create") != null;
      boolean cancel = request.getParameter("cancel") != null;
      String name = ParamUtils.getParameter(request, "name");
      String description = ParamUtils.getParameter(request, "description");
      String users = ParamUtils.getParameter(request, "users", true);
  
      boolean enableRosterGroups = ParamUtils.getBooleanParameter(request,"enableRosterGroups");
      String groupDisplayName = ParamUtils.getParameter(request,"groupDisplayName");
      String showGroup = ParamUtils.getParameter(request,"showGroup");
      String[] groupNames = ParamUtils.getParameters(request, "groupNames");
  
  //    String showInRosterType = ParamUtils.getParameter(request, "show");
  //    boolean showInRoster = "onlyGroup".equals(showInRosterType) || "everybody".equals(showInRosterType);
  //    String displayName = ParamUtils.getParameter(request, "display");
  //    String groupList = ParamUtils.getParameter(request, "groupList");
  
      // Handle a cancel
      if (cancel) {
          response.sendRedirect("group-summary.jsp");
  