diff --git a/project-build.xml b/project-build.xml
index b20acb50cd..f72e0792ab 100644
--- a/project-build.xml
+++ b/project-build.xml
@@ -7,14 +7,8 @@
-
-
-
-
-
-
-
+
@@ -89,9 +83,5 @@
-
-
-
-
diff --git a/project.properties b/project.properties
index 6d354fb696..c4417501cc 100644
--- a/project.properties
+++ b/project.properties
@@ -1,4 +1,2 @@
webinf.delete.tomcat=jboss*.xml,portlet*.xml,alfresco-object.xml
webinf.lib.delete.jboss=log4j-1.2.8.jar,portlet-api-lib.jar,myfaces-api.jar,myfaces-impl.jar
-
-files.faces.config=/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml
diff --git a/source/java/org/alfresco/web/config/AdvancedSearchConfigElement.java b/source/java/org/alfresco/web/config/AdvancedSearchConfigElement.java
index 7f32a07573..4cca5046ee 100644
--- a/source/java/org/alfresco/web/config/AdvancedSearchConfigElement.java
+++ b/source/java/org/alfresco/web/config/AdvancedSearchConfigElement.java
@@ -104,6 +104,14 @@ public class AdvancedSearchConfigElement extends ConfigElementAdapter
}
}
+ if (newElement.getFolderTypes() != null)
+ {
+ for (String type : newElement.getFolderTypes())
+ {
+ combinedElement.addFolderType(type);
+ }
+ }
+
if (newElement.getCustomProperties() != null)
{
for (CustomProperty property : newElement.getCustomProperties())
diff --git a/source/web/WEB-INF/faces-config-custom.xml b/source/web/WEB-INF/faces-config-custom.xml
new file mode 100644
index 0000000000..82acb532e1
--- /dev/null
+++ b/source/web/WEB-INF/faces-config-custom.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/source/web/WEB-INF/web_TEMPLATE.xml b/source/web/WEB-INF/web.xml
similarity index 96%
rename from source/web/WEB-INF/web_TEMPLATE.xml
rename to source/web/WEB-INF/web.xml
index de3b94029a..0f53fbdbb6 100644
--- a/source/web/WEB-INF/web_TEMPLATE.xml
+++ b/source/web/WEB-INF/web.xml
@@ -1,226 +1,226 @@
-
-
-
-
-
- Alfresco Web Client
-
- Alfresco Web Client
-
-
- javax.faces.STATE_SAVING_METHOD
- server
-
-
-
- javax.faces.CONFIG_FILES
- @facesconfig@
-
-
-
- org.apache.myfaces.ALLOW_JAVASCRIPT
- true
-
-
-
- org.apache.myfaces.DETECT_JAVASCRIPT
- false
- This is an EXPERIMENTAL feature, so leave it off for now!
-
-
-
-
- org.apache.myfaces.PRETTY_HTML
- true
-
- If true, rendered HTML code will be formatted, so that it is "human readable".
- i.e. additional line separators and whitespace will be written, that do not
- influence the HTML code.
- Default: "true"
-
-
-
-
- org.apache.myfaces.AUTO_SCROLL
- false
-
- If true, a javascript function will be rendered that is able to restore the
- former vertical scroll on every request. Convenient feature if you have pages
- with long lists and you do not want the browser page to always jump to the top
- if you trigger a link or button action that stays on the same page.
- Default: "false"
-
-
-
-
- contextConfigLocation
-
- classpath:alfresco/web-client-application-context.xml
- classpath:web-services-application-context.xml
- classpath:alfresco/application-context.xml
-
- Spring config file locations
-
-
-
- Authentication Filter
- org.alfresco.web.app.servlet.AuthenticationFilter
-
-
-
-
-
-
-
-
-
-
-
- WebDAV Authentication Filter
- org.alfresco.repo.webdav.auth.AuthenticationFilter
-
-
-
-
-
-
-
- Authentication Filter
- /faces/*
-
-
-
-
-
-
-
- WebDAV Authentication Filter
- /webdav/*
-
-
-
- org.apache.myfaces.webapp.StartupServletContextListener
-
-
-
- org.springframework.web.context.ContextLoaderListener
-
-
-
- org.alfresco.web.app.ContextListener
-
-
-
-
- Faces Servlet
- org.alfresco.web.app.servlet.AlfrescoFacesServlet
- 1
-
-
-
- uploadFile
- org.alfresco.web.app.servlet.UploadFileServlet
-
-
-
- downloadContent
- org.alfresco.web.app.servlet.DownloadContentServlet
-
-
-
- externalAccess
- org.alfresco.web.app.servlet.ExternalAccessServlet
-
-
-
- templateContent
- org.alfresco.web.app.servlet.TemplateContentServlet
-
-
-
- commandServlet
- org.alfresco.web.app.servlet.CommandServlet
-
-
-
- axis
- org.apache.axis.transport.http.AxisServlet
- 5
-
-
-
- WebDAV
- org.alfresco.repo.webdav.WebDAVServlet
-
- store
- workspace://SpacesStore
-
-
- rootPath
- /app:company_home
-
- 5
-
-
-
- Faces Servlet
- /faces/*
-
-
-
- uploadFile
- /uploadFileServlet
-
-
-
- downloadContent
- /download/*
-
-
-
- externalAccess
- /navigate/*
-
-
-
- templateContent
- /template/*
-
-
-
- commandServlet
- /command/*
-
-
-
- axis
- /api/*
-
-
-
- WebDAV
- /webdav/*
-
-
-
- 60
-
-
-
- index.jsp
-
-
-
+
+
+
+
+
+ Alfresco Web Client
+
+ Alfresco Web Client
+
+
+ javax.faces.STATE_SAVING_METHOD
+ server
+
+
+
+ javax.faces.CONFIG_FILES
+ /WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,WEB-INF/faces-config-custom.xml
+
+
+
+ org.apache.myfaces.ALLOW_JAVASCRIPT
+ true
+
+
+
+ org.apache.myfaces.DETECT_JAVASCRIPT
+ false
+ This is an EXPERIMENTAL feature, so leave it off for now!
+
+
+
+
+ org.apache.myfaces.PRETTY_HTML
+ true
+
+ If true, rendered HTML code will be formatted, so that it is "human readable".
+ i.e. additional line separators and whitespace will be written, that do not
+ influence the HTML code.
+ Default: "true"
+
+
+
+
+ org.apache.myfaces.AUTO_SCROLL
+ false
+
+ If true, a javascript function will be rendered that is able to restore the
+ former vertical scroll on every request. Convenient feature if you have pages
+ with long lists and you do not want the browser page to always jump to the top
+ if you trigger a link or button action that stays on the same page.
+ Default: "false"
+
+
+
+
+ contextConfigLocation
+
+ classpath:alfresco/web-client-application-context.xml
+ classpath:web-services-application-context.xml
+ classpath:alfresco/application-context.xml
+
+ Spring config file locations
+
+
+
+ Authentication Filter
+ org.alfresco.web.app.servlet.AuthenticationFilter
+
+
+
+
+
+
+
+
+
+
+
+ WebDAV Authentication Filter
+ org.alfresco.repo.webdav.auth.AuthenticationFilter
+
+
+
+
+
+
+
+ Authentication Filter
+ /faces/*
+
+
+
+
+
+
+
+ WebDAV Authentication Filter
+ /webdav/*
+
+
+
+ org.apache.myfaces.webapp.StartupServletContextListener
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+ org.alfresco.web.app.ContextListener
+
+
+
+
+ Faces Servlet
+ org.alfresco.web.app.servlet.AlfrescoFacesServlet
+ 1
+
+
+
+ uploadFile
+ org.alfresco.web.app.servlet.UploadFileServlet
+
+
+
+ downloadContent
+ org.alfresco.web.app.servlet.DownloadContentServlet
+
+
+
+ externalAccess
+ org.alfresco.web.app.servlet.ExternalAccessServlet
+
+
+
+ templateContent
+ org.alfresco.web.app.servlet.TemplateContentServlet
+
+
+
+ commandServlet
+ org.alfresco.web.app.servlet.CommandServlet
+
+
+
+ axis
+ org.apache.axis.transport.http.AxisServlet
+ 5
+
+
+
+ WebDAV
+ org.alfresco.repo.webdav.WebDAVServlet
+
+ store
+ workspace://SpacesStore
+
+
+ rootPath
+ /app:company_home
+
+ 5
+
+
+
+ Faces Servlet
+ /faces/*
+
+
+
+ uploadFile
+ /uploadFileServlet
+
+
+
+ downloadContent
+ /download/*
+
+
+
+ externalAccess
+ /navigate/*
+
+
+
+ templateContent
+ /template/*
+
+
+
+ commandServlet
+ /command/*
+
+
+
+ axis
+ /api/*
+
+
+
+ WebDAV
+ /webdav/*
+
+
+
+ 60
+
+
+
+ index.jsp
+
+
+