- vars.put("total", total);
- vars.put("profile", profiles[typeIndex].getVisibleName());
- vars.put("valid", valid);
- vars.put("exp", total - valid);
- vars.put("rev", "TODO");
- if (lastExpire == Long.MIN_VALUE) {
- vars.put("lastdate", "-");
- } else {
- vars.put("lastdate", DateSelector.getDateFormat().format(new Date(lastExpire)));
+ } else if (req.getParameter("revokeall") != null) {
+ if ( !Form.getForm(req, SupportRevokeCertificatesForm.class).submit(resp.getWriter(), req)) {
+ throw new GigiApiException("No ticket number set.");