Reputation: 853
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.
Upvotes: 1
Views: 307
Reputation: 597016
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.
Upvotes: 0
Reputation: 12080
If you include the faces-config in your JAR, it will be found by any JSF project that you include that JAR within.
Upvotes: 1