anchor.diff:          Edit group settings and add or remove group members and administrators
           using the forms below.
       </p>
  -
  -    <script language="javascript">
  -    <!--
  -    function refreshDisplayName(showCheck)
  -    {
  -    if ("onlyGroup" == showCheck.value) {
  -        document.forms.ff.newDisplay.disabled=false;
  -        document.forms.ff.newGroupList.disabled=false;
  -    }
  -    else if ("everybody" == showCheck.value) {
  -        document.forms.ff.newDisplay.disabled=false;
  -        document.forms.ff.newGroupList.disabled=true;
  -    }
  -    else {
  -        document.forms.ff.newDisplay.disabled=true;
  -        document.forms.ff.newGroupList.disabled=true;
  -    }
  -    }
  -    //-->
  -    </script>
   
   <%
       if (success) {
  
positive.code:                     if (groupDisplayName != null) {
                          group.getProperties().put("sharedRoster.displayName", groupDisplayName);
                      }
                      group.getProperties().put("sharedRoster.groupList", toList(groupNames));
                  }
                  else {
                      group.getProperties().put("sharedRoster.showInRoster", "nobody");
  
negative.code: 
  
  <%!
      private static String toList(String[] array, String enc) {
          if (array == null || array.length == 0) {
              return "";
          }
          StringBuffer buf = new StringBuffer();
          String sep = "";
          for (int i=0; i<array.length; i++) {
              String item;
              try {
                  item = URLDecoder.decode(array[i], enc);
              }
              catch (UnsupportedEncodingException e) {
                  item = array[i];
              }
              buf.append(sep).append(item);
              sep = ",";
          }
          return buf.toString();
  