String action = request.getParameter(Params.REPOSITORY.SHOW_BY_MOD.PARAMS.ACTION);
if (!StringUtils.isBlank(action)) {
String revision = f.getString(Params.REPOSITORY.SHOW_BY_MOD.FORM.REVISION);
f.set(Params.REPOSITORY.SHOW_BY_MOD.FORM.REVISION, "");
try {
ModuleDescriptor md = userSSP.getModuleManagementService().getModule(v.getId(), organisation, module, revision);
userSSP.getModuleManagementService().removeModule(new Long(md.getId()));
LOGGER.info(MessageFormat.format("deleted {0}|{1}|{2}", new Object[] {organisation, module, revision}));
} catch (org.jayasoft.woj.common.services.ServiceException e) {
LOGGER.warn(MessageFormat.format("cannot delete {0}|{1}|{2}", new Object[] {organisation, module, revision}), e);
}
}