if (deleted != null && deleted.booleanValue() && redirectOnSuccessURI != null) { IWContext.getInstance().sendRedirect(redirectOnSuccessURI); }
	public void processAction(ActionEvent arg0) throws AbortProcessingException {		HtmlCommandButton source = (HtmlCommandButton) arg0.getSource();		String path = (String) source.getAttributes().get(PARAMETER_PATH);		String action = (String) source.getAttributes().get(ACTION);				if (ACTION_YES.equals(action)) {			WebdavExtendedResource res = super.getWebdavExentededResource(path);			String parentPath = res.getParentPath();			Boolean wasFolder = new Boolean(res.isCollection());			Boolean deleted = null;			try {				super.refreshList();				if (parentPath != null) {					WFUtil.invoke("WebDAVListBean", "setWebDAVPath", parentPath.replaceFirst(getIWSlideSession().getWebdavServerURI(), ""));				}				WFUtil.invoke("WebDAVListBean","setClickedFilePath", null, String.class);				res.deleteMethod();				deleted = new Boolean(true);			}			catch (HttpException e) {				deleted = new Boolean(false);				e.printStackTrace();			}			catch (IOException e) {				deleted = new Boolean(false);				e.printStackTrace();			}			catch (Exception e) {				deleted = new Boolean(false);				e.printStackTrace();			}			WFUtil.invoke("webdavdocumentdeleterbean", "setDeleted", deleted, Boolean.class);			WFUtil.invoke("webdavdocumentdeleterbean", "setWasFolder", wasFolder, Boolean.class);		}	}