mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Enabled the ability to override our JSF config
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2323 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
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-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml
|
||||
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
|
||||
|
22
source/web/WEB-INF/faces-config-app.xml
Normal file
22
source/web/WEB-INF/faces-config-app.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
|
||||
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
|
||||
<faces-config>
|
||||
|
||||
<!-- ==================== APPLICATION ==================== -->
|
||||
<application>
|
||||
<navigation-handler>org.alfresco.web.app.AlfrescoNavigationHandler</navigation-handler>
|
||||
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
|
||||
<locale-config>
|
||||
<default-locale>en</default-locale>
|
||||
</locale-config>
|
||||
</application>
|
||||
|
||||
<!-- ==================== LIFECYCLE ==================== -->
|
||||
<!--
|
||||
<lifecycle>
|
||||
<phase-listener>org.alfresco.web.app.DebugPhaseListener</phase-listener>
|
||||
</lifecycle>
|
||||
-->
|
||||
|
||||
</faces-config>
|
@@ -3,16 +3,6 @@
|
||||
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
|
||||
<faces-config>
|
||||
|
||||
<!-- ==================== APPLICATION ==================== -->
|
||||
<application>
|
||||
<navigation-handler>org.alfresco.web.app.AlfrescoNavigationHandler</navigation-handler>
|
||||
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
|
||||
<locale-config>
|
||||
<default-locale>en</default-locale>
|
||||
</locale-config>
|
||||
</application>
|
||||
|
||||
|
||||
<!-- ==================== MANAGED BEANS ==================== -->
|
||||
<managed-bean>
|
||||
<description>
|
||||
@@ -1351,13 +1341,5 @@
|
||||
<value>#{NamespaceService}</value>
|
||||
</managed-property>
|
||||
</managed-bean>
|
||||
|
||||
<!-- ==================== LIFECYCLE ==================== -->
|
||||
|
||||
<!--
|
||||
<lifecycle>
|
||||
<phase-listener>org.alfresco.web.app.DebugPhaseListener</phase-listener>
|
||||
</lifecycle>
|
||||
-->
|
||||
|
||||
</faces-config>
|
Reference in New Issue
Block a user