views:

19

answers:

2

I am trying to come up with a common UI framework for my organization. I want to know can I have something called shared faces-config.xml file which can be shared across projects.

+1  A: 

If you include the faces-config in your JAR, it will be found by any JSF project that you include that JAR within.

Zack
A: 

Place your faces-config.xml in a META-INF folder in the jar root.

If you look at component frameworks (richfaces, tomahawk, etc) - they do it this way.

Bozho