outStr.append("    id=\"" + assignment.getId() + "\"\n"); outStr.append("    value=\"" + assignment.getId() + "\"\n");
outStr.append("    id=\"" + grantableInstance.getId() + "\"\n"); outStr.append("    value=\"" + grantableInstance.getId() + "\"\n");
  public static String revokeBox    (PrivilegedSubject  revoker,     Assignment         assignment,     UnusableStyle      unusableStyle)  {    StringBuffer outStr = new StringBuffer();        Decision decision = revoker.canEdit(assignment);    if (decision.getAnswer() == true)    {      outStr.append("<td align=\"center\" >\n");      outStr.append("  <input\n");      outStr.append("    name=\"revoke\"\n");      outStr.append("    type=\"checkbox\"\n");      outStr.append("    id=\"" + assignment.getId() + "\"\n");      outStr.append("    value=\"" + assignment.getId() + "\"\n");      outStr.append("    onclick=\"selectThis(this.checked);\" />\n");      outStr.append("</td>");    }    else if (unusableStyle == UnusableStyle.TEXTMSG)    {      outStr.append("<td align=\"center\" class=\"status\" >\n");      outStr.append("  You are not authorized to revoke this assignment.\n");      outStr.append("</td>");    }    else // show the checkbox dimmed.    {      outStr.append("<td align=\"center\" >\n");      outStr.append("  <input\n");      outStr.append("    name=\"revoke\"\n");      outStr.append("    type=\"checkbox\"\n");      outStr.append("    id=\"" + assignment.getId() + "\"\n");      outStr.append("    value=\"" + assignment.getId() + "\"\n");      outStr.append("    disabled=\"true\"\n");//      outStr.append("    title=\"" + revoker.editRefusalExplanation(assignment, "logged-in user") + "\"");      outStr.append("/>");      outStr.append("</td>");    }        return outStr.toString();  }