public UIComponent getLinkCreation(Object param) { ContentViewer list = new ContentViewer(); list.setShowPermissionTab(false); list.setShowUploadComponent(true); if (param != null) { list.setRootPath(param.toString()); } else { list.setRootPath(CoreConstants.PATH_FILES_ROOT); } list.setOnFileClickEvent("SelectDocument(this);return false;"); list.setColumnsToHide( WebDAVListManagedBean.COLUMN_DELETE + "," + WebDAVListManagedBean.COLUMN_CHECKOUT + "," + WebDAVListManagedBean.COLUMN_LOCK); return list; }