Identity identity = (Identity) session.getAttribute(Identity.class
.getName());
if (step.equals("checkit")) {
if (rcml.getLatestEntry().getType() != RCML.ci) {
CheckOutEntry coe = rcml.getLatestCheckOutEntry();
actionMap.put("user", coe.getIdentity());
Date checkOutDate = new Date(coe.getTime());
actionMap.put("date", checkOutDate.toString());
actionMap.put("message", "lenya.rc.checkedoutalready");
actionMap.put("state", "co");
} else {
CheckInEntry cie = rcml.getLatestCheckInEntry();