import org.cacert.gigi.Language;
import org.cacert.gigi.output.DataTable.Cell;
-import org.cacert.gigi.output.DataTable.EmptyCell;
public class CertificateTable implements Outputable {
String resultSet;
rs.beforeFirst();
while (rs.next()) {
// out.println(rs.getString("id"));
- cells.add(new EmptyCell());
+ cells.add(new Cell());
cells.add(new Cell("State", false));
cells.add(new Cell(rs.getString("CN"), false));
cells.add(new Cell(rs.getString("serial"), false));
}
@Override
- protected String[] getColumns() {
- return new String[] { "Renew/Revoke/Delete", "Status",
- "Email Address", "SerialNumber", "Revoked",
- "Expires", "Login", "Comment*" };
+ protected Cell[] getColumns() {
+ return new Cell[] { new Cell("Renew/Revoke/Delete", true),
+ new Cell("Status", true),
+ new Cell("Email Address", true),
+ new Cell("SerialNumber", true),
+ new Cell("Revoked", true),
+ new Cell("Expires", true), new Cell("Login", true),
+ new Cell("Comment*", true, "colspan=\"2\"") };
}
};
t.output(out, l, vars);