outStr.append("    id=\"" + grantableInstance.getId() + "\"\n"); outStr.append("    value=\"" + grantableInstance.getId() + "\"\n");
outStr.append("    id=\"" + paramStr(grantableInstance) + "\"\n"); outStr.append("    value=\"" + paramStr(grantableInstance) + "\"\n");
  public static String revokeBox    (PrivilegedSubject  loggedInPrivilegedSubject,     Grantable          grantableInstance,     UnusableStyle      unusableStyle)  {    StringBuffer outStr = new StringBuffer();        Decision decision = loggedInPrivilegedSubject.canEdit(grantableInstance);    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=\"" + grantableInstance.getId() + "\"\n");      outStr.append("    value=\"" + grantableInstance.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=\"" + grantableInstance.getId() + "\"\n");      outStr.append("    value=\"" + grantableInstance.getId() + "\"\n");      outStr.append("    disabled=\"true\"\n");//      outStr.append("    title=\"" + revoker.editRefusalExplanation(assignment, "logged-in user") + "\"");      outStr.append("/>");      outStr.append("</td>");    }        return outStr.toString();  }