cancel
Showing results for 
Search instead for 
Did you mean: 

faces-config-navigation.xml - adding new JSP pages

jamen
Confirmed Champ
Confirmed Champ
Hi,

I'm hoping someone can answer this question for me.  I am in the process of customising Alfresco's web UI.  In regards to defining the navigation-case for particular outcomes, I was just wondering whether these have to be listed in the faces-config-navigation.xml file.

Is it possible to have an additional xml file to be placed in the /web-inf/alfresco/extension directory.  If I do this, what file do I need to modify in order to define the existence of the file I create (eg. custom-faces-config-navigation.xml) along with its contents.

Thanks in advanced.

Jamen
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
Yes, you can add navigation rules to any named xml file, but to include it add it to the list in web.xml, but that obviously means changing an Alfresco file.

The other option is to create a file called faces-config.xml and package it inside a folder called META-INF inside a JAR file. Then place the JAR file in WEB-INF/lib or preferably in <tomcat>/shared/lib.