if (!eventHandled) { WFUtil.invoke("WebDAVListBean", "setClickedFilePath", null, String.class); }
	public void encodeBegin(FacesContext context) throws IOException {		Boolean fileSelected = (Boolean) WFUtil.invoke("WebDAVListBean", "getIsClickedFile");		String tmp = (String) context.getExternalContext().getRequestParameterMap().get(PARAMETER_ROOT_FOLDER);		if (tmp != null) {			IWUserContext iwuc = IWContext.getInstance();						IWSlideSession ss = (IWSlideSession) IBOLookup.getSessionInstance(iwuc, IWSlideSession.class);			String webDAVServerURI = ss.getWebdavServerURI();			tmp = tmp.replaceFirst(webDAVServerURI, "");			WFUtil.invoke("WebDAVListBean", "setWebDAVPath", tmp);			((WebDAVFilePermissions)getFacet(PERMISSIONS)).setResourcePath(tmp);			rootFolder = tmp;		}		if (LIST.equals(currentAction)) { //currentAction == null || 						renderListLink = true;			renderDetailsLink = false;			renderPreviewLink = false;			renderNewFolderLink = true;			renderPermissionsLink=true;					}		else {			if (fileSelected.booleanValue()) {								renderListLink = true;				if (PREVIEW.equals(currentAction)) {					renderDetailsLink = true;					renderPreviewLink = false;				} else {					renderDetailsLink = false;					renderPreviewLink = true;				}				renderNewFolderLink = false;				renderPermissionsLink=true;								if (currentAction == null) {					setRenderFlags(FILE_DETAILS);				}				else if(PREVIEW.equals(currentAction)){					setRenderFlags(PREVIEW);				}							}		}		super.encodeBegin(context);	}