private void exitFromDetailHandler(SourceBean request, SourceBean response) throws EMFUserError, SourceBeanException {
logger.debug("IN");
String tempFolder = (String) request.getAttribute(DossierConstants.DOSSIER_TEMP_FOLDER);
IDossierDAO dossierDao = DAOFactory.getDossierDAO();
// cleans temp folder
dossierDao.clean(tempFolder);
// propagates dossier id (usefull to return to document main detail page if light navigator is disabled)
Integer dossierId = dossierDao.getDossierId(tempFolder);
response.setAttribute(ObjectsTreeConstants.OBJECT_ID, dossierId.toString());
response.setAttribute(DossierConstants.PUBLISHER_NAME, "ExitFromDossierDetailLoop");
logger.debug("OUT");