diff --git a/config/alfresco/web-client-config.xml b/config/alfresco/web-client-config.xml
index 67a1835d17..1d34fb0afb 100644
--- a/config/alfresco/web-client-config.xml
+++ b/config/alfresco/web-client-config.xml
@@ -69,10 +69,6 @@
alfresco@alfresco.org
-
-
- 127-0-0-1.ip.alfrescodemo.net
- 8180
diff --git a/source/java/org/alfresco/web/bean/wcm/AVMBrowseBean.java b/source/java/org/alfresco/web/bean/wcm/AVMBrowseBean.java
index 7e2b7af66e..af9d0ba552 100644
--- a/source/java/org/alfresco/web/bean/wcm/AVMBrowseBean.java
+++ b/source/java/org/alfresco/web/bean/wcm/AVMBrowseBean.java
@@ -52,6 +52,7 @@ import org.alfresco.service.cmr.workflow.WorkflowService;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.alfresco.service.namespace.RegexQNamePattern;
+import org.alfresco.util.NameMatcher;
import org.alfresco.util.Pair;
import org.alfresco.web.app.Application;
import org.alfresco.web.app.context.IContextListener;
@@ -141,9 +142,6 @@ public class AVMBrowseBean implements IContextListener
/** Current AVM Node action context */
private AVMNode avmNode = null;
- private String wcmDomain;
- private String wcmPort;
-
/** breadcrumb location */
private List location = null;
@@ -175,7 +173,10 @@ public class AVMBrowseBean implements IContextListener
protected AVMSyncService avmSyncService;
/** Action service bean reference */
- protected ActionService actionService;
+ protected ActionService actionService;
+
+ /** Global exclude name matcher */
+ protected NameMatcher nameMatcher;
/**
@@ -184,10 +185,6 @@ public class AVMBrowseBean implements IContextListener
public AVMBrowseBean()
{
UIContextService.getInstance(FacesContext.getCurrentInstance()).registerBean(this);
-
- ClientConfigElement config = Application.getClientConfig(FacesContext.getCurrentInstance());
- this.wcmDomain = config.getWCMDomain();
- this.wcmPort = config.getWCMPort();
}
@@ -287,6 +284,14 @@ public class AVMBrowseBean implements IContextListener
this.actionService = actionService;
}
+ /**
+ * @param nameMatcher The nameMatcher to set.
+ */
+ public void setNameMatcher(NameMatcher nameMatcher)
+ {
+ this.nameMatcher = nameMatcher;
+ }
+
/**
* Summary text for the staging store:
* Created On: xx/yy/zz
@@ -691,6 +696,9 @@ public class AVMBrowseBean implements IContextListener
Map nodes = this.avmService.getDirectoryListing(-1, getCurrentPath());
this.files = new ArrayList